This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: [PATCH] Add BeOS support for libstdc++-v3
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: [PATCH] Add BeOS support for libstdc++-v3
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Tue, 21 Nov 2000 18:46:24 -0500
- Cc: gdr at codesourcery dot com, dan at www dot cgsoftware dot com, gcc-patches at gcc dot gnu dot org, libstdc++ at sources dot redhat dot com
- References: <Pine.LNX.4.10.10011211102240.9416-300000@www.cgsoftware.com> <20001121173437.A16465@disaster.jaj.com> <flhf51ylg5.fsf@sel.cmla.ens-cachan.fr> <20001121152258Z.mitchell@codesourcery.com>
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.