Subject: Re: Problems compiling libgcc in make build
To: Hisashi T Fujinaka <>
From: James Chacon <>
List: current-users
Date: 12/03/2001 21:14:55
Nuke by hand your obj dir for libgcc. I removed _eh.c from the autogenerated
file list as it needs to be compiled with different options so you have
an old copy laying around still which the auto-make rules are picking up.


>Trying a recent make build on a i386 machine gives me the following error,
>even after cleaning all the usual places.
>Any ideas? Thanks.
>dependall ===> libgcc
>/usr/obj/tools/bin/i386--netbsdelf-gcc -O2   -Werror
>-I/usr/src/gnu/lib/libgcc/../../usr.bin/gcc/arch/i386 -DIN_GCC
>-I/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/cp -nostdinc -isystem
>/usr/include  -c -fexceptions -DL_eh -o _eh.o
>/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/libgcc2.c _eh.c
>i386--netbsdelf-gcc: cannot specify -o with -c or -S and multiple
>*** Error code 1
>Hisashi T Fujinaka -
>BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte