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 22:57:10
It does clean. It can't clean what isn't in the file list anymore though so
it'll nuke everything except that file. This is a one time artifact due to
Makefile changes.

In general if you're having an issue with getting something to compile remove
it's objdir completely (or make sure there aren't any un-accounted for files
in the source tree).

James

>
>I wish I could figure out why "make clean" doesn't do anything but list
>the commands to be executed in tcsh. It never seems to clean anything.
>
>Thanks!
>
>On Mon, 3 Dec 2001, James Chacon wrote:
>
>> 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
>> >
>> >
>> >
>> >
>> >
>>
>
>-- 
>Hisashi T Fujinaka - htodd@twofifty.com
>BSEE (6/86) + BSChem (3/95) + BAEnglish (8/95) + $2.50 = mocha latte
>
>
>
>
>