This is the mail archive of the gcc-bugs@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]

egcs-1.0 passing -V option to as?



Please respond to me directly as I am not subscribed to egcs-bugs.

I have both gcc-2.7.2.3 & egcs-1.0 installed on my system.  In the
conventional gcc way, I use the -V & -b options to designate exactly which
backend to use.

When I use the egcs supplied gcc, it appears as though gcc is passing to
as the -V option.  Is it just me or should as not care which version of
the compiler backend you are invoking?

panic:gnustep> gcc -V 2.7.2.3 -b i486-linux -o blah blah.m -lobjc
GNU assembler version 970731 (i486-linux), using BFD version
linux-2.8.1.0.15
Assembler messages:
Error: Can't open 2.7.2.3 for reading.
2.7.2.3: No such file or directory

In verbose mode,

panic:gnustep> gcc -v -V 2.7.2.3 -b i486-linux -o blah blah.m -lobjc
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.3/specs
gcc driver version egcs-2.90.21 971202 (egcs-1.00 release) executing gcc
version 2.7.2.3
 /usr/lib/gcc-lib/i486-linux/2.7.2.3/cpp -lang-objc -v -undef -D__OBJC__
-D__GNUC__=2 -D__GNUC_MINOR__=7 -D__ELF__ -Dunix -Di386 -Dlinux -D__ELF__
-D__unix__ -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux
-Asystem(unix) -Asystem(posix)
-Acpu(i386) -Amachine(i386) blah.m /tmp/cca16190.i
GNU CPP version 2.7.2.3 (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/i486-linux/include
 /usr/lib/gcc-lib/i486-linux/2.7.2.3/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i486-linux/2.7.2.3/cc1obj /tmp/cca16190.i -quiet
-dumpbase blah.m -version -lang-objc -o /tmp/cca16190.s
GNU Obj-C version 2.7.2.3 (i386 Linux/ELF) compiled by GNU C version
2.7.2.3.
 as -V 2.7.2.3 -Qy -o /tmp/cca161901.o /tmp/cca16190.s
GNU assembler version 970731 (i486-linux), using BFD version
linux-2.8.1.0.15
Assembler messages:
Error: Can't open 2.7.2.3 for reading.
2.7.2.3: No such file or directory

Regards,
Christopher
---
Christopher Seawood             * Software Engineer/System Admin
cls@seawood.org                 * http://www.seawood.org



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