Dealing with compilers that pretend to be GCC
Ludovic Courtès
ludovic.courtes@inria.fr
Thu Jan 19 17:20:00 GMT 2012
Hi Paul,
Paul Eggert <eggert@cs.ucla.edu> 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
are supported?
That’s the problem I’m trying to solve.
Thanks,
Ludo’.
More information about the Gcc
mailing list