This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Wrongfully compiled code


Hello,

Thank you very much for your confirmation.
I am much relieved to have found the cause of trouble.

But I do not know how to re-install sh-elf-gcc on Cygwin.
Could you please teach me how to do it ?

Masahiro Ariga


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



-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]