in reply to Re: Detect which version of perl an XS module is linked against?
in thread Detect which version of perl an XS module is linked against?

rafl,
Thanks for the guidance but unfortunately I need a step-by-step tutorial. Other than Inline::C, I don't have a lot of experience embedding C in Perl nor do I have any experience developing native executables on Win32. Well, aside from what I can accomplish with MinGW and Visual Basic 5 (/me ducks).

Update: Thanks. Given your reply below, I will work with the #parrot team as any solution needs to be accepted as a patch.

Cheers - L~R

  • Comment on Re^2: Detect which version of perl an XS module is linked against?

Replies are listed 'Best First'.
Re^3: Detect which version of perl an XS module is linked against?
by rafl (Friar) on Jan 03, 2008 at 00:06 UTC

    DynaLoader provides a dl_load_file function, which will probably do what I said above, except you don't need c or anything.

    Also be sure to set the PERL_DL_NONLAZY environment variable to something true to force nonlazy binding.