libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: flat namespaces redux


From: F J Franklin
Subject: Re: flat namespaces redux
Date: Thu, 6 Feb 2003 08:50:56 +0000 (GMT)

The "-flat_namespace -undefined suppress" can be a severe pain. I usually
avoid these flags by adding -no-undefined to LDFLAGS, but this can cause
havoc with some packages. Trying to compile GTK-2.0 when -no-undefined has
been added everywhere is fun fun fun

Perhaps we just have to accept that Darwin is different?

Still, -Xlinker has proven to very useful. You can do fun stuff like

libThing_la_LDFLAGS = -no-undefined \
        -Xlinker -prebind -Xlinker -seg1addr -Xlinker 3f00f000

Viva la dyld,
Frank

ps. While the world's need for two-level namespaces may be questionable,
    MacOSX nevertheless makes considerable use of the feature...

Francis James Franklin
address@hidden

  `Medium atomic weights are available: Gold, Lead, Copper, Jet, Diamond,
Radium, Sapphire, Silver and Steel.
  `Sapphire and Steel have been assigned...'






reply via email to

[Prev in Thread] Current Thread [Next in Thread]