build gcc for rtems4.11 toolchains in ubuntu

Joel Sherrill Joel.Sherrill at
Sun Mar 2 08:18:11 UTC 2014

Are you using RTEMS source builder? Or trying to do this by hand?

On Mar 2, 2014 8:59 AM, =?UTF-8?B?5byg5oyv5YW0?= <harbor0727 at> wrote:
there is a problem as follow when i build gcc-4.8.2 for rtems-4.11 toolchains in ubuntu.

In file included from /home/rerber/rtems/rtems4.11_toolchains_source/build-gcc/gcc/include-fixed/syslimits.h:7:0,
                 from /home/rerber/rtems/rtems4.11_toolchains_source/build-gcc/gcc/include-fixed/limits.h:34,
                 from ../../../../../gcc-4.8.2/libgcc/libgcc2.c:1731:
/home/rerber/rtems/rtems4.11_toolchains_source/build-gcc/gcc/include-fixed/limits.h:168:61: fatal error: limits.h: No such file or directory
 #include_next <limits.h>  /* recurse down to the real one */
compilation terminated.
make[4]: *** [_fixunssfsi.o] Error 1
make[4]: Leaving directory `/home/rerber/rtems/rtems4.11_toolchains_source/build-gcc/arm-rtems4.11/thumb/armv6-m/libgcc'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/home/rerber/rtems/rtems4.11_toolchains_source/build-gcc/arm-rtems4.11/libgcc'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/home/rerber/rtems/rtems4.11_toolchains_source/build-gcc/arm-rtems4.11/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/rerber/rtems/rtems4.11_toolchains_source/build-gcc'
make: *** [all] Error 2

why? thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list