[Fink-devel] Re: flat namespaces redux

2003-02-04 Thread Yves de Champlain
From my point of view, portable software just means that it should work well in regards to platform-specific features (or bugs). yves Le Mardi, 4 févr 2003, à 00:59 Canada/Eastern, Robert Boehne a écrit : Hello, Maybe I don't understand OS X, but as I see it, any library that needs a two level

[Fink-devel] Re: flat namespaces redux

2003-02-03 Thread Robert Boehne
Hello, Maybe I don't understand OS X, but as I see it, any library that needs a two level namespace would not build on any other OS because OS X is the only OS that supports this feature. Now, if that is the case, it doesn't make any sense for Libtool (a tool for portable library creation & use) t

[Fink-devel] Re: flat namespaces redux

2003-02-03 Thread Albert Chin
On Tue, Feb 04, 2003 at 12:23:04AM +0900, Peter O'Gorman wrote: > > On Tuesday, February 4, 2003, at 12:01 AM, Benjamin Reed wrote: > >> > >>cc -multiply_defined suppress -prebind blah || cc -flat_namespace > >>-undefined suppress blah > > > >1. libkdeui's LIBADD is "-lkdecore" > >2. the first h

[Fink-devel] Re: flat namespaces redux

2003-02-03 Thread Peter O'Gorman
On Tuesday, February 4, 2003, at 12:01 AM, Benjamin Reed wrote: cc -multiply_defined suppress -prebind blah || cc -flat_namespace -undefined suppress blah 1. libkdeui's LIBADD is "-lkdecore" 2. the first half of the link complains that -lqt-mt is indirectly referenced 3. it builds the librar

[Fink-devel] Re: flat namespaces redux

2003-02-03 Thread Benjamin Reed
Well, I think that building thing two level namespace ought to be the libtool default also, flat_namespace is needed for some things but causes problems for many others, how about trying both by default? cc -multiply_defined suppress -prebind blah || cc -flat_namespace -undefined suppress blah

[Fink-devel] Re: flat namespaces redux

2003-02-03 Thread Peter O'Gorman
On Monday, February 3, 2003, at 01:27 AM, Benjamin Reed wrote: This would make libtool default to making twolevel libraries (which is darwin's linker default, in fact), but you could still pass "-flat_namespace -undefined suppress" to the command-line if you have a poorly behaving app. W

[Fink-devel] Re: flat namespaces redux

2003-02-02 Thread Benjamin Reed
On Sunday, February 2, 2003, at 11:23 AM, Benjamin Reed wrote: He suggested changing it to "-multiply_defined suppress prebind", which seems to be the solution, if libtool doesn't want to support specifying the namespace on the libtool command-line. This would make libtool default to making tw