Subject: "cc" vs. "gcc" in current
To: None <tech-toolchain@netbsd.org>
From: Gary Duzan <gary@duzan.org>
List: tech-toolchain
Date: 12/26/2001 10:56:18
   Under current/i386 as of December 20th I'm getting some odd
behavior from the compiler when invoked as "gcc".

1.5.3_ALPHA:

===========================================================================
wheel { ~ } % gcc -O
gcc: No input files
wheel { ~ } % cc -O
cc: No input files
===========================================================================

1.5ZA (2001-12-20):

===========================================================================
capo { ~ } % gcc -O
gcc: invalid option -- O
gcc: usage 'gcc [ -VqfnkN ] [ -i <istring> ] [ filename ... ]'
capo { ~ } % cc -O
cc: No input files
===========================================================================

   This shows up in particular when building XFree4, since it is
set up with "CC=gcc". A "make USE_XF86_4=yes" results in the above
usage message, while "make USE_XF86_4=yes CC=cc" allows it to
continue normally. I expect this will be an issue with some packages,
as well.
   Any ideas what's going on here?

					Gary D. Duzan