[PATCH] Add BeOS support for libstdc++-v3

Phil Edwards pedwards@disaster.jaj.com
Tue Nov 21 15:40:00 GMT 2000


On Tue, Nov 21, 2000 at 03:22:58PM -0800, Mark Mitchell wrote:
> >>>>> "Gabriel" == Gabriel Dos Reis <gdr@codesourcery.com> writes:
> 
>     Gabriel> Is there any reason we should default to 'no threads' on
>     Gabriel> all plateforms?
> 
> We already have a --enable-threads option at the top-level.  
> 
> I think V3 should honor this switch.

I believe we do.  There was some discusson about what threading model to
default to in the absence of a trailing "=foo" to that option.  I patched
it to default to POSIX since that's the only threading model supported at
the time.  Alexandre pointed out that, in the absence of specifics, it would
be better to query the compiler for which model it was using and default
to that one.  Which is true, but I don't know how to do that right now.


> The same goes, by the way, for --enable-shared.  It seems weird to me
> that V3 builds a .so even when I don't say --enable-shared.

Both --enable-shared and --enable-static are defaulted to on.  If you were
to pass --disable-shared at the top level, it would take effect.

(Except that --disable-static is currently broken, I think.)

Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.


More information about the Libstdc++ mailing list