This is the mail archive of the
mailing list for the GCC project.
Re: Dealing with compilers that pretend to be GCC
- From: ludovic dot courtes at inria dot fr (Ludovic Courtès)
- To: Paul Eggert <eggert at cs dot ucla dot edu>
- Cc: gcc at gcc dot gnu dot org, bug-autoconf at gnu dot org
- Date: Thu, 19 Jan 2012 17:51:34 +0100
- Subject: Re: Dealing with compilers that pretend to be GCC
- References: <firstname.lastname@example.org> <4F183CBE.email@example.com>
Paul Eggert <firstname.lastname@example.org> skribis:
> A 'configure' script is supposed to check for behavior, not identity.
> If the compiler supports the features needed, then generally speaking
> a 'configure' script shouldn't care whether the compiler is truly GCC.
Right. But how would you write feature tests that would check (1)
whether the GNU C language is supported, and (2) whether GCC plug-ins
Thatâs the problem Iâm trying to solve.