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]

cannot specify -o with -c or -S


I get the following when trying to compile with egcs1.1b, latest kernel and binutils:-
 
make[1]: Entering directory `/usr/src/redhat/BUILD/procps-1.2.9/xproc'
gcc -O2 -m486 -fno-strength-reduce -fno-rtti -O -O4 -Wall    -I/usr/X11R6/include -I/include  -Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO  -DOSMAJORVERSION=2 -DOSMINORVERSION=1   -c XConsole.c -o XConsole.o
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [XConsole.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/procps-1.2.9/xproc'
make: *** [build_xproc] Error 2
Bad exit status from /var/tmp/rpm-tmp.45460 (%build)
I have searched the archives but have not found any other posts.  Is there an easy solution
 
Regards
 
Peter Dyer

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