Subject: Re: make build error with new toolchain
To: None <current-users@netbsd.org>
From: Ken Wellsch <kwellsch@tampabay.rr.com>
List: current-users
Date: 09/25/2001 06:46:48
On Tue, Sep 25, 2001 at 07:39:58PM +0900, Bang Jun-Young wrote:
>
> /usr/tools/bin/i386--netbsdelf-gcc -O2  -Werror   -I/usr/src/gnu/lib/libgcc/../../usr.bin/gcc/arch/i386 -I/usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/cp/inc -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 -nostdinc -idirafter /usr/include -c -o exception.o /usr/src/gnu/lib/libgcc/../../dist/toolchain/gcc/cp/exception.cc /usr/src/gnu/lib/libgcc/../../dist/gcc/cp/exception.cc
> i386--netbsdelf-gcc: cannot specify -o with -c or -S and multiple compilations
> *** Error code 1
> 
> Two exception.cc were used to create a .o file. The source was the latest
> as of this building.

Apparently the .depend file is not being removed as it should here, so

	cd /usr/src/gnu/lib/libgcc && make cleandir

will clear this glitch, if I have read this list correctly...

After that, a "make dependall" should work...

-- Ken