cross compile

Yioryos Asprobounitis mavrothal at yahoo.com
Wed May 16 16:40:51 EDT 2012



--- On Wed, 5/16/12, Paul Fox <pgf at laptop.org> wrote:

> From: Paul Fox <pgf at laptop.org>
> Subject: Re: cross compile
> To: "Yioryos Asprobounitis" <mavrothal at yahoo.com>
> Cc: "OLPC Devel" <devel at lists.laptop.org>
> Date: Wednesday, May 16, 2012, 1:44 PM
> 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-'
> 

I guess my problem is that `bin/armv7-unknown-linux-gnueabi-*' is nowhere in my F14 system :-/
And a web search is equally uninformative.
Where should it be coming from?
Thanks






More information about the Devel mailing list