This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Intel compiler 8.0 pretends to be gcc 3.2.


>>>>> "D" == DJ Delorie <dj@redhat.com> writes:

>> My natural instinct is that the gcc community needs to do more about 
>> this than to tut-tut, but I have no concrete suggestions.

D> My suggestion is to do nothing.  If we mis-detect icc as gcc and that
D> causes build problems (rendering icc unusable), so be it.

I just noticed this option in the man page:

       -no-gcc        Do  not predefine __GNUC__, __GNUC_MINOR__,
                      and __GNUC_PATCHLEVEL__

so there's at least an easy workaround for the user.

Martin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]