Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by Limbic~Region (Chancellor)
on Jan 03, 2008 at 00:00 UTC ( [id://660086]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://660086]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (4)
As of 2024-04-24 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found