cross compile

Paul Fox pgf at laptop.org
Wed May 16 13:44:34 EDT 2012


yioryos wrote:
 > Tried to compile the arm-3.0-wip kernel on Fedora 14 as suggested  in 
 > http://wiki.laptop.org/go/Kernel#Cross_compiling
 > Downloaded compiled and installed  in the default location (/usr/local - no 
 > PATH adjustment should be needed) crosstool-ng-1.9.3
 > Then I: 
 > `export ARCH=arm
 > export CROSS_COMPILE=armv7-unknown-linux-gnueabi-'
 > as suggested but on `make' I got: 
 > `/bin/sh: armv7-unknown-linux-gnueabi-gcc: command not found
 > make[1]: *** [kernel/bounds.s] Error 127
 > make: *** [prepare0] Error 2'


you may need to set CROSS_COMPILE to a full path prefix, e.g.:
 'export CROSS_COMPILE=/usr/local/cross/bin/armv7-unknown-linux-gnueabi-'

or, if your installation contains a bin directory with unprefixed names:
 'export CROSS_COMPILE=/usr/local/cross/bin/'


paul
=---------------------
 paul fox, pgf at laptop.org



More information about the Devel mailing list