egs-1.0.1 bug?

Ian Lance Taylor ian@cygnus.com
Mon Jan 26 16:07:00 GMT 1998


   Date: Mon, 26 Jan 1998 15:44:46 -0800
   From: David Walker <david@one.devoid.net>

   gcc -O     -I/usr/X11R6/include -I/include  -Dlinux LinuxMachineDefines
   -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE   -DFUNCPROTO=15
   -DNARROWPROTO  -DNON_BLOCKING_IO  -DSELFILE   -c main.c -o main.o
   gcc: cannot specify -o with -c and multiple compilations
   make: *** [main.o] Error 1

I don't know where the bug is, but it's not in egcs.  This command
line is trying to compile two files: one named `LinuxMachineDefines',
and one named `main.c'.  The error message is self-explanatory.

Ian



More information about the Gcc-bugs mailing list