Cross compiling toolcain

Started by ozko, May 21, 2014, 11:18:32 AM

Previous topic - Next topic

ozko

Hi Everyone

Following this http://linux-sunxi.org/Toolchain
I follow the debian guide
this is my system > Linux workgroup 3.2.0-4-686-pae #1 SMP Debian 3.2.57-3+deb7u1 i686 GNU/Linux
Everything went trough I have the links I think
ln: failed to create symbolic link `arm-linux-gnueabihf-cpp': File exists
ln: failed to create symbolic link `arm-linux-gnueabihf-gcc': File exists
ln: failed to create symbolic link `arm-linux-gnueabihf-gcc-ar': File exists
ln: failed to create symbolic link `arm-linux-gnueabihf-gcc-nm': File exists
ln: failed to create symbolic link `arm-linux-gnueabihf-gcc-ranlib': File exists
ln: failed to create symbolic link `arm-linux-gnueabihf-gcov': File exists

And continued to compile the u-boot from here http://linux-sunxi.org/U-Boot#Compilation
at the Build step config went trough
make CROSS_COMPILE=arm-linux-gnueabihf- A13-OLinuXino_config
whit this as a output
Configuring for A13-OLinuXino - Board: sun5i, Options: A13_OLINUXINO,SPL,STATUSLED=201,CONS_INDEX=2

But when I try make
make CROSS_COMPILE=arm-linux-gnueabihf-
I get this
make: arm-linux-gnueabihf-gcc: Command not found
/bin/sh: 1: arm-linux-gnueabihf-gcc: not found
dirname: missing operand
Try `dirname --help' for more information.
  GEN     include/autoconf.mk.dep
/bin/sh: 1: arm-linux-gnueabihf-gcc: not found
  GEN     include/autoconf.mk
/bin/sh: 1: arm-linux-gnueabihf-gcc: not found
  CHK     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
/bin/sh: 1: arm-linux-gnueabihf-gcc: not found
  UPD     include/generated/version_autogenerated.h
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  CC      lib/asm-offsets.s
/bin/sh: 1: arm-linux-gnueabihf-gcc: not found
make[1]: *** [lib/asm-offsets.s] Error 127
make: *** [prepare0] Error 2


Thanks