ts-7000
[Top] [All Lists]

[ts-7000] Re: Doubt - ts7400 - build the kernel

To:
Subject: [ts-7000] Re: Doubt - ts7400 - build the kernel
From: "Doug" <>
Date: Mon, 10 Aug 2009 04:58:19 -0000
--- In  "lhamaduck" <> wrote:

> make[2]: arm-linuxgcc: Command not found
> How can I resolve it?

Hi BRuno,

This line in the output is telling you that it's failing because it can't find 
an executable called "arm-linuxgcc" in the path.

It depends on what your cross compiler is called. My guess would be your cross 
compiler is called "arm-linux-gcc" or maybe "arm-unknown-linux-gnu-gcc". You 
need to edit the kernel's Makefile at the line where it sets CROSS_COMPILE. 
Right now it probably says:

CROSS_COMPILE=arm-linux

If your compiler is called arm-linux-gcc, you need to make it:

CROSS_COMPILE=arm-linux-

If your compiler is called arm-unknown-linux-gnu-gcc, you would put:

CROSS_COMPILE=arm-unknown-linux-gnu-

Note the hyphen at the end. When it tries to compile, it's just appending "gcc" 
to the end of that string to figure out what compiler to execute. So you also 
need to make sure that your PATH environment variable contains the directory in 
which the cross compiler binaries are stored:

export PATH=/path/to/compiler:$PATH

(or, you can just put the full path in the CROSS_COMPILE variable in the 
Makefile. It's up to you)

Doug



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU