building RTEMS Kernel fails (checking for arm-rtems4.12-gcc... no)

徐帅 xushuainwpu at 126.com
Thu Nov 2 16:28:41 UTC 2017


I have problems when building RTEMS Kernel


$../rtems/configure --target=arm-rtems4.12 --enable-rtemsbsp=beagleboneblack  --prefix=/home/sxxsxx/development/rtems/kernel/image
...
\target architecture: arm.
available BSPs: beagleboneblack.
'make all' will build the following BSPs: beagleboneblack.
other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'


when I have:
$sudo make
...
checking for style of include used by make... GNU
checking for arm-rtems4.12-gcc... no
configure: error: no acceptable cc found in $PATH
...
However, I have added the '/home/sxxsxx/development/rtems/4.12/bin' to PATH
$echo $PATH
/home/sxxsxx/development/rtems/4.12/bin:/home/sxxsxx/development/rtems/4.12/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games


Actually, when I have:
$arm-rtems4.12-gcc
arm-rtems4.12-gcc: fatal error: no input files
compilation terminated.


it means 'arm-rtems4.12-gcc' is in the path, but why the building can't find it when checking
checking for arm-rtems4.12-gcc... no
configure: error: no acceptable cc found


I am new to RTEMS, I searched this problem but got nothing, can you help me? Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20171103/59a644bd/attachment.html>


More information about the users mailing list