This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Wrongfully compiled code
sh-elf/sh-elf/include
Thread model: single
gcc version 3.2.1
We found a bug in this version (probably the same one). I managed to
compile GCC 4.1.1 using the following sources
binutils 2.16
Newlib 1.14.0 (copy this to inside the GCC source directory)
Gcc 4.1.1
I had to make one hack to the configure file. It fails on a test, but
you can proceed without it, you'll just have to inspect the file when
the problem occurs and comment out that test. I can't remember any more
details than that sorry.
binutils is compiled separately. Newlib is not strictly needed by ecos
but I found GCC wouldn't compile without it (use the --with-newlib
option in the configure).
btw the compile time is measured in hours (about 4.5 on the PC I used)
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss