Subject: Re: Unable to build toolchain for 1.6-RC3
To: Frederick Bruckman <fredb@immanent.net>
From: Daniel Eggert <danieleggert@mac.com>
List: netbsd-help
Date: 09/08/2002 18:25:34
On s=F8ndag, sep 8, 2002, at 17:51 Europe/Copenhagen, Frederick Bruckman=20=
wrote:
> On Sun, 8 Sep 2002, Daniel Eggert wrote:
>
>> I've just downloaded (by cvs) the source for 1.6-RC3.
>>
>> Next thing, I tried to build the toolchain, so I run
>> # cd /usr/src
>> # ./build.sh -t
>>
>> After screenfulls of output build.sh stops with;
>> Illegal instruction - core dumped
>> cc -DHAVE_CONFIG_H -I. "" -I. -D_GNU_SOURCE -I.
> ^^
> ||
> -- This, here, looks like a filename
> to "gcc".
I see. What does that tell me?
>> -I/usr/src/tools/toolchain/../../gnu/dist/ toolchain/bfd
>> -I/usr/src/tools/toolchain/../../gnu/dist/toolchain/bfd/../include
>> -I/usr/src/tools/toolchain/../../gnu/dist/toolchain/bfd/../intl
>> -I../intl -W -Wall -O -c
>> /usr/src/tools/toolchain/../../gnu/dist/toolchain/bfd/bfd.c -o bfd.o
>> cc: cannot specify -o with -c or -S and multiple compilations
>> *** Error code 1
>>
>> Stop.
>> nbmake: stopped in /usr/obj/tools/toolchain/build/bfd
>> *** Error code 1
>>
>> I'm running NetBSD-1.6D macppc.
>>
>> What do I do wrong?
>
> Do you something like $HOST_CFLAGS set to "" in your environment?
No. When i check with
# setenv
there is no environment variable called HOST_CFLAGS.
Should there be? Should it be set to ""?
Thanks so far,
Daniel