You can easily install an arm cross-compiler on Fedora as follows:
sudo wget http://ftp.linux.org.uk/pub/linux/arm/fedora/cross/cross.repo
sudo yum install armv5tel-redhat-linux-gnueabi-gcc
You can check the installation worked by checking the cross-compiler version
[[email protected] ~]$ armv5tel-redhat-linux-gnueabi-gcc -v
Using built-in specs.
Configured with: ../configure –prefix=/usr –mandir=/usr/share/man –infodir=/usr/share/info –enable-shared –enable-threads=posix –enable-checking=release –with-system-zlib –enable-__cxa_atexit –disable-libunwind-exceptions –enable-languages=c,c++ –disable-libgcj –with-sysroot=yes –enable-version-specific-runtime-libs –target=armv5tel-redhat-linux-gnueabi
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-33.fa1)
This will only install the C compiler (gcc), to install the C++ compiler, run the following command:
sudo yum install armv5tel-redhat-linux-gnueabi-gcc-c++
Tested in Fedora 12.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
|Support CNX Software - Donate via PayPal or cryptocurrencies, become a Patron on Patreon, or buy review samples|