[PATCH] Default to --enable-threads=posix on Linux (was Re: libgcc_s, Linux, and PT_GNU_EH_FRAME, and binutils)
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Tue Aug 6 02:54:00 GMT 2002
At 11:31 06.08.2002, Jakub Jelinek wrote:
>On Mon, Aug 05, 2002 at 02:58:40PM -0700, Mark Mitchell wrote:
> > Do it quickly, send me a patch, and we can obviate the debate by having
> > the change in. I just can't see holding up the release for that.
>
>Here is the proposed minimum patch to default to --enable-threads=posix
>unless either some other --enable-threads option or --disable-threads
>is given on Linux. I don't see why somebody might want not to build thread
>aware gcc/libstdc++ by default.
>
>I've verified that configure with --disable-threads gives the configuration
>which used to be, ie. no thread support and that no --*threads option given
>to configure causes posix threads to be used.
>
>Ok to commit to mainline/3.2 branch?
Uhm, wouldn't it be easier to put one test under *-*-linux* instead of
duplicating it all over?
Franz.
More information about the Gcc
mailing list