hevilp
Posts: 64
Joined: Sun Sep 09, 2012 6:13 pm

cross compile problem

Fri Apr 05, 2013 1:09 pm

ill do that:

Code: Select all

export CCPREFIX=/home/rasp/src/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-
make ARCH=arm CROSS_COMPILE=${CCPREFIX}
and get this

Code: Select all

[email protected]:~/src/linux$ make ARCH=arm CROSS_COMPILE=${CCPREFIX}
make: /home/rasp/src/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc: Command not found
why it doesnt work?

aaa801
Posts: 428
Joined: Mon Jun 04, 2012 9:06 pm
Location: Berkshire

Re: cross compile problem

Fri Apr 05, 2013 2:13 pm

Whats the output of "file /home/rasp/src/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc"

hevilp
Posts: 64
Joined: Sun Sep 09, 2012 6:13 pm

Re: cross compile problem

Sat Apr 06, 2013 7:54 am

pls watch the attachment.

thank you
Attachments
Unbenannt.PNG
Unbenannt.PNG (44.76 KiB) Viewed 1547 times

User avatar
jojopi
Posts: 3084
Joined: Tue Oct 11, 2011 8:38 pm

Re: cross compile problem

Sat Apr 06, 2013 8:42 am

That did not actually answer the question. Also, you have not checked whether the symlink is correct. But I assume by the fact that it is coloured in cyan and not in red that it is not broken.

You have the same problem as in this thread: http://www.raspberrypi.org/phpBB3/viewt ... 31&t=38918

xian
Posts: 51
Joined: Thu Nov 01, 2012 8:42 pm

Re: cross compile problem

Sat Apr 06, 2013 8:46 am

I seem to remember having a similar problem. IIRC it was because the execute bit was not set on something. Might be the symlinks.
HTH

hevilp
Posts: 64
Joined: Sun Sep 09, 2012 6:13 pm

Re: cross compile problem

Sat Apr 06, 2013 10:14 am

Code: Select all

arm-linux-gnueabihf-gcc: symbolic link to `arm-linux-gnueabihf-gcc-4.7.2'
what is the solution??

Return to “General discussion”