Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: perl in C >>> "dynamic loading not available in this perl."

by Anonymous Monk
on Jan 16, 2006 at 02:27 UTC ( [id://523381]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    1---->perl_parse(my_perl, NULL, argc, my_argv, NULL);
    2---->  perl -MExtUtils::Embed -e xsinit -- -o perlxsi.c
         cc -c perlxsi.c `perl -MExtUtils::Embed -e ccopts`
    
  2. or download this
     static void xs_init (pTHX);
     EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
    ...
            newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
            newXS("Socket::bootstrap", boot_Socket, file);
     }
    
  3. or download this
    3----->perl_parse(my_perl, xs_init, argc, my_argv, NULL);
           and the file interp.c must include "perlxsi.c";
    
    4-----> cc -o interp interp.c `perl -MExtUtils::Embed -e ccopts -e ldo
    +pts`
         interp
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-26 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found