Problem when compiling gcc for rtems-4.6 toolchain
Ralf Corsepius
ralf.corsepius at rtems.org
Fri Mar 3 04:02:31 UTC 2006
On Wed, 2006-03-01 at 10:57 +1100, Angelo Fraietta wrote:
>
> Dominik Brader wrote:
> > On Tuesday 28 February 2006 21:59, you wrote:
> >
> >>Dominik Brader wrote on 2/28/06 12:45 PM:
> >>
> >>>Hello,
> >>>
> >>>I have a problem when compiling the gcc for the RTEMS-4.6. toolchain.
> >>>I am using binutils-2.13.2.1, gcc-3.2.3 with
> >>>gcc-3.2.3-rtems-20040420.diff patch and newlib-1.11.0 with
> >>>newlib-1.11.0-rtems-20030605.diff patch.
> >>>
>
> I had a very similar problem the other day.
> I found that I had to use gcc 3.3.5 to make it work for rtems 4.6.4
>
> I have the whole procedure at
> http://www.smartcontroller.com.au/~angelo/rtems/RTEMSForSmartController.html
>
> Let me know if it helps
FWIW the procedure you describe on
http://www.smartcontroller.com.au/~angelo/rtems/BuildGCC.html
can be significantly slimed down and speed up by removing c++ and f77
from --enable-languages.
--enable-languages=c is sufficient to build GCC to bootstrap GCC
cross-toolchains like the RTEMS GCCs.
If you further want to speed this up, and do not plan to use this GCC
for other purposes but to bootstrap cross-GCCs, you can use "make all"
instead of "make bootstrap" (This avoids building a "staged" GCC).
Ralf
More information about the users
mailing list