Subject: Re: Problems compiling libgcc in make build
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: James Chacon <jchacon@genuity.net>
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.

James

>
>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
>-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
>-I/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc
>-I/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/config
>-I/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/../include
>-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
>compilations
>*** Error code 1
>
>
>-- 
>Hisashi T Fujinaka - htodd@twofifty.com
>BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte
>
>
>
>
>