[ECOS] problems compiling host tools

Aldo Dolfi dolfi@nec-labs.com
Thu Mar 13 17:09:00 GMT 2003


Thanks Jonathan, I indeed had used "make" alone.
Now I tryed to rebuild the tools on another machine (simply copying them 
didn 't work because of different system libraries). Unluckily, I got 
errors similar to the other ones, but this time I followed the 
instruction, I believe. This document
http://sources.redhat.com/ecos/tools/linux-v850-elf.html
says to use a snapshot more recent than 2000-03-20. I thought gcc-2.95.3 
would be fine, as it's newer.

I did

../src/gcc-2.95.3/configure --target=v850-elf --prefix=/ecos/tools 
--exec-prefix=/ecos/tools/H-i686-pc-linux-gnu --with-gnu-as 
--with-gnu-ld --with-gnulib -v | & tee configure.out

make -w all-gcc install-gcc LANGUAGES="c c++" | & tee make.out

I attach the last part of make output

What's weird is that I think these are exactly the same steps I follow 
on the other machine to build the v850 gcc. The other machine is a 
Debian unstable system, whereas the one on which I am trying to work now 
is a RedHat 7.2 (but using gcc-2.95.3 as the native compiler)

Any ideas?
TIA

Aldo

Jonathan Larmour wrote:

> Aldo Dolfi wrote:
>
>> Thanks for the hint, but I am still stuck.
>> I tried to configure gcc-2.95.3 but it says target i386-pc-elf not 
>> supported.
>> So I tried 2.95.2 with the patch 
>> http://sources.redhat.com/ecos/tools/patches/ecos-gcc-2952.pat
>> The configure goes fine, but during the make I get errors about not 
>> finding system include files.
>> The output from make is attached.
>> What's wrong this time? :)
>
>
> You didn't follow the instructions quite carefully enough I'm afraid. 
> You need to use:
> make -w all-gcc install-gcc LANGUAGES="c c++"
>
> It looks like you did just "make" or "make all"
>
> Jifl


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make.part
URL: <http://sourceware.org/pipermail/ecos-discuss/attachments/20030313/78cd17df/attachment.ksh>
-------------- next part --------------
-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


More information about the Ecos-discuss mailing list