logo       

Re: flat namespaces redux: msg#00075

gnu.libtool.general

Subject: Re: flat namespaces redux

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
F.J.Franklin@xxxxxxxxxx

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise