Subject: re: Ovfork.s with gcc3.3.2
To: Manju Mahajan <manju@skipperwireless.com>
From: matthew green <mrg@eterna.com.au>
List: port-powerpc
Date: 09/03/2005 16:26:45
   
   powerpc--netbsd-gcc: cannot specify -o with -c or -S and multiple
   compilations
   
   *** Failed target: Ovfork.o
   *** Failed command:
   /root/src/nbsrc/myobj/tooldir.NetBSD-2.0.2-i386/bin/powerpc--netbsd-gcc -D_L
   IBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/home/src/nbsrc/lib/libc/inclu
   de -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 
   -I/home/src/nbsrc/libexec/ld.elf_so -I/home/src/nbsrc/lib/libc/dlfcn
   /home/src/nbsrc/lib/libc/include -DCITRUS_ICONV -DWITH_RUNE -I/home/src/nbsr
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

this argument is the cause of the problem.

   c/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -nost
   dinc -isystem
   /root/obj/destdir/usr/include -c -traditional-cpp -DALL_STATE -DUSG_COMPAT -
   I/home/src/nbsrc/lib/libc/arch/powerpc -nostdinc -idirafter
   /root/obj/destdir/usr/include
   /home/src/nbsrc/lib/libc/arch/powerpc/sys/Ovfork.S -o Ovfork.o.tmp
   
GCC is seeing you asking to compile both "/home/src/nbsrc/lib/libc/include"
and "/home/src/nbsrc/lib/libc/arch/powerpc/sys/Ovfork.S" into a single output
object (Ovfork.o.tmp) and correctly complaining about this.


i don't know why this is happening for you, but something is passing the
wrong arguments to the compiler.


.mrg.