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

Ok Cheers, but how con you do if you have only shared-objects? In C it would not be a problem.

Replies are listed 'Best First'.
Re^7: shared-obj linking in xs-module
by rafl (Friar) on Mar 16, 2006 at 15:00 UTC

    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?

        Those object files are part of my XS glue. They are build from the .c files generated form my .xs files. They corespond to helloworld.o in your example. They are not part of the library I'm binding to perl.

        Flo