Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: static linking demanded

by ysth (Canon)
on Sep 07, 2007 at 05:22 UTC ( [id://637580]=note: print w/replies, xml ) Need Help??


in reply to static linking demanded

I learned of "perl Makefile.PL; make perl", which is fine for statically linking just one module. But how to do more than one? Do "make perl" on Curses first, then somehow add in DBI and others? The Camel book doesn't really say.
I didn't know just "make perl" worked; the invocation I'm familiar with is "perl Makefile.PL LINKTYPE=static", and that's what I see in the ExtUtils::MakeMaker docs. Making a static module is supposed to include all previously statically built modules automatically. Have you tried it?

But this only gets you the perl XS libraries statically linked; if those refer to other libraries, that will probably still be dynamic.

Log In?
Username:
Password:

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

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

    No recent polls found