About compile of arm

asked 2015-07-23 19:53:05 -0700

fred_li gravatar image

updated 2015-07-23 19:54:11 -0700

Hi When I build e code for with the follow scons option:

scons OS=linux CPU=arm BINDINGS=c,cpp

I receive after few minutes the follow message: CROSS_COMPILE variable is required for Linux/ARM builds

How can I do the next ? which command should I used? Thank you very much!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-07-27 07:13:42 -0700

Sushma1990 gravatar image

updated 2015-07-27 07:15:24 -0700

You need to provide the path of where "/arm-linux-gnueabihf-" is located for CROSS_COMPILE variable. You have to download the cross compile tools appropriate for the target machine.

Below is an example command

scons OS=linux CPU=arm WS=off OE_BASE=/usr BR=on BINDINGS=cpp CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-07-23 19:53:05 -0700

Seen: 195 times

Last updated: Jul 27 '15