[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flat namespaces redux
From: |
Albert Chin |
Subject: |
Re: flat namespaces redux |
Date: |
Mon, 3 Feb 2003 21:39:23 -0600 |
User-agent: |
Mutt/1.4i |
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 half of the link complains that -lqt-mt is indirectly
> >referenced
> >3. it builds the library flat, and continues on
> >
> >when what *should* happen is it dies at #2, and we add -lqt-mt to
> >libkdeui's LIBADD like it should be.
>
> Why? An option to stop if two_level namespace can't be built, I can see
> as a good thing for people porting stuff to darwin, however some stuff
> is quite happy being flat, even if it only missing the usual environ
> symbol, and imo, libtool shouldn't die by default.
>
> The default should be to continue if possible unless told otherwise,
> the fewer people who have to add custom flags and options the better.
On AIX, libtool does something special if LDFLAGS has "-brtl" in it.
Can something be done similarly for OSX to support the two-level
namespace (by inspecting CPPFLAGS or CFLAGS or some other variable at
./configure time)? Or do you need a libtool option to do what you
want?
--
albert chin (address@hidden)
- flat namespaces redux, Benjamin Reed, 2003/02/02
- Re: flat namespaces redux, Benjamin Reed, 2003/02/02
- Re: flat namespaces redux, Peter O'Gorman, 2003/02/03
- Re: flat namespaces redux, Benjamin Reed, 2003/02/03
- Re: flat namespaces redux, Peter O'Gorman, 2003/02/03
- Re: flat namespaces redux,
Albert Chin <=
- Re: flat namespaces redux, Robert Boehne, 2003/02/04
- Re: flat namespaces redux, Yves de Champlain, 2003/02/04
- Re: flat namespaces redux, Albert Chin, 2003/02/04
- Re: flat namespaces redux, Robert Boehne, 2003/02/04
- Re: flat namespaces redux, Albert Chin, 2003/02/04
- Re: flat namespaces redux, Robert Boehne, 2003/02/04
- Re: flat namespaces redux, Benjamin Reed, 2003/02/06