in reply to Re^4: shared-obj linking in xs-module
in thread shared-obj linking in xs-module

Exactly what I did in the code example I posted. Linking the generated shared object against the libraries. In that example that libraries are also external (not proprietary, though) and I don't have built them myself. I built my code with the headers that are provided with those libraries and then link against their shared objects, which are more than one as well.

Cheers, Flo

Replies are listed 'Best First'.
Re^6: shared-obj linking in xs-module
by warlock (Initiate) on Mar 16, 2006 at 14:52 UTC
    Ok Cheers, but how con you do if you have only shared-objects? In C it would not be a problem.

      You mean only shared-objects without header files?

      It'll work the same way as in C, so as almost everything concerning XS works the sam way as in C as it actually only is preprocessed C code that links against a library called libperl, which is written in C as well.

      Flo

        Sorry, but you used obj-files in your example. So, if you have just the header-file and the shared-object, how can you do?