in reply to static build of perl - how?

Could you post your entire config.sh, please? With <readmore> tags around it.

Undefining usedl definitely should work to link perl's extensions staticly; I don't know that it has any effect on how external libraries like curses, expat, etc. are linked.

Replies are listed 'Best First'.
Re^2: static build of perl - how?
by ghee2ghee (Novice) on Jul 19, 2005 at 09:07 UTC
    Ysth,

    I've noticed that even though I configured with -Uusedl, usedl is *still* defined. I'm going to set it to undef manually and rebuild to see if that makes any difference.

    Thanks.

    Here's my config.sh:

      Ysth,

      I've manually hacked Configure to write usedl out as "undef", and hey presto - I get a completely static build. I guess that the issue lies in Configure - either it's not detecting -Uusedl correctly, or it's deciding that it knows better and gives a dynamic build anyway.

      At any rate, I've now got my static build - thank you.