On Mon, 4 Feb 2002, Doug Kaufman wrote: > On Mon, 4 Feb 2002, Thomas Dickey wrote: > > > On Mon, Feb 04, 2002 at 05:29:07PM -0800, Doug Kaufman wrote: > > > If you are using GNU gcc and ld, see the "-static" flag for ld. You > > > should be able to add "-static" to the LIBS line in the Makefile. > > > > you should, but it doesn't always work properly (that is, the corresponding > > -dynamic option to revert doesn't always work, so in some situations he'd > > get the C runtime linked in statically if it's available). > > According to the info files and running "ld --help" on freeBSD and > DJGPP, GNU ld doesn't use "-dynamic". You have a few choices, "-dy", > "-Bdynamic", or "-call_shared". Is there a specific version of GNU ld > which doesn't work properly with one of these options?
not exactly: unless I'm working on makefile rules, I don't always recall whether it's -Bstatic or -static -- Solaris uses one, and GNU the other. I always check by inspecting the result of the link (nm, ldd as appropriate). -- T.E.Dickey <[EMAIL PROTECTED]> http://invisible-island.net ftp://invisible-island.net ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
