egcs-970904: Misbehaviour calling as with -b -V

Jim Wilson wilson@cygnus.com
Thu Sep 11 16:17:00 GMT 1997


	This is the result of 'gcc -b i586-linuxlibc1 -V 2.7.2.2.f.2 -c tst.c':

	 as -V 2.7.2.2.f.2 -Qy -o tst.o /tmp/cca05227.s
	GNU assembler version 2.8.1 (i586-linux), using BFD version linux-2.8.1.0.1
	Assembler messages:
	Error: Can't open 2.7.2.2.f.2 for reading.

This is a bug in gcc 2.7.2.  The ASM_SPEC says that any -V option on the 
command line should be passed to the assembler, which is wrong, because gcc -V
is something completely different than as -V.  This is fixed in EGCS.

You are seeing the bug because you use the -V option to specify 2.7.2,
which caused the 2.7.2 specs file to be read in.  If you fix the 2.7.2
specs file, then the problem will go away.

Jim




More information about the Gcc-bugs mailing list