GNU bug report logs -
#10766
CXX gets the value 'CC' on Cygwin, but CC is in fact cc
Previous Next
Reported by: Peter Rosin <peda <at> lysator.liu.se>
Date: Wed, 8 Feb 2012 21:06:01 UTC
Severity: minor
Tags: patch
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 10766 <at> debbugs.gnu.org (full text, mbox):
Stefano Lattarini skrev 2012-02-08 22:31:
> Reference:
> <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10766>
>
> [CC:ing the bug-autoconf list]
>
> On 02/08/2012 10:04 PM, Peter Rosin wrote:
>> Hi!
>>
>> The testsuite on master tries to use lesser compilers, but on Cygwin
>> this causes some failures due to the fact that /usr/bin/cc{.exe} is
>> also recognized as /usr/bin/CC{.EXE} (due to the filesystem not being
>> case sensitive), leading to CXX being set to 'CC'.
>>
> That is bad. But this sounds more like an autoconf bug, since AC_PROG_CXX
> isn't rejecting the C compiler as it IMHO should. Or am I missing
> something?
Well, to be fair the Automake usage of AC_PROG_CXX on master is more
than a little bit special in that it overrides the search order and
puts g++ last in the list. This isn't hitting anything real, not
anything big anyway...
Cheers,
Peter
This bug report was last modified 13 years and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.