Subject: Re: make build error with new toolchain
To: None <>
From: Ken Wellsch <>
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/ /usr/src/gnu/lib/libgcc/../../dist/gcc/cp/
> i386--netbsdelf-gcc: cannot specify -o with -c or -S and multiple compilations
> *** Error code 1
> Two 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