This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 'gcc -whatever' unrecognized option returns 0
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: ubizjak at gmail dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 15 Nov 2005 10:47:15 -0500 (EST)
- Subject: Re: 'gcc -whatever' unrecognized option returns 0
>
> Hello!
>
> libgomp's configure checks -pthread option using following commands:
First this whole "gcc -unknown" is PR 15303.
Second I still think it is hard to get this correct as on darwin with
some versions (really Apple's) of GCC accepted -no-cpp-precomp but newer
ones (from both the FSF and Apple) don't accept it (though we what we
will need a spec for warning about an option which has been removed and
then PR 15303 can be resolved because resolving it currently will
cause a bootstrap failure with starting with that version of GCC).
Thanks,
Andrew Pinski