I need to compile kernel 3.4 for armhf, and this requires gcc-4.9.
the cmd line is:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- tegra_defconfig
(here i'm not sure that I need to set CROSS_COMPILE)
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
The issue is that I can't get ubuntu to use gcc-4.9, which is not available, I had to add xenial to the 'sources.list' file and now I have it on my system but am unable to use it.
Adding CC=gcc-4.9
to the commands will then not use the arm-linux-gnueabihf
prefix defined by CROSS_COMPILE
.
update-alternatives
does not recognise gcc-4.9 as a second c compiler.
Does anyone see a way around this ?
Please don't just drop a comment like "install xenial".