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

Chris Johns chrisj at rtems.org
Fri Nov 3 07:07:12 UTC 2017


On 03/11/2017 03:28, 徐帅 wrote:
> 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

You should not need to use sudo. Use somewhere on the disk you can write to as a
normal user.

> ...
> 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

What is in /home/sxxsxx/development/rtems/4.12/bin?

> 
> 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.
> 

Welcome. I am sure we can sort this. I test the BBB all the time.

Have you



More information about the users mailing list