ARM / x86_64 – A More Recent Cross-Compiler..
I had been using the armv7hl-mandriva-linux-gnueabi- cross-compiler, but that gcc version is a bit out-of-date now (version 4.6.1).
I found a more recent version, for Fedora, here: http://rpmfind.net//linux/RPM/fedora/updates/testing/21/x86_64/g/gcc-arm-linux-gnu-4.9.2-3.fc21.x86_64.html
Using yum, this will also install binutils-arm-linux-gnu-2.25-3.fc21.x86_64 and cross-gcc-common-4.9.2-3.fc21.noarch and cross-binutils-common-2.25-3.fc21.noarch, to prvide the rest of the cross-compile environment.
It should be noted that this is only suitable for cross-compiling kernels, and does not provide an environment for cross-compiling userland source rpms etc.. which would require a substantial number of additional cross-compile rpm packages..
The gcc version is now 4.9.2, and can be accessed by substituting export CROSS_COMPILE=arm-linux-gnu- in the recent examples for Raspberry Pi and DreamPlug.
Robert Gadsdon. March 10, 2015
Comments
ARM / x86_64 – A More Recent Cross-Compiler.. — No Comments