Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: static linking demanded

by ysth (Canon)
on Sep 07, 2007 at 05:22 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2023-09-21 19:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found