Installing an ARM Toolchain in Fedora

You can easily install an arm cross-compiler on Fedora as follows:

cd /etc/yum.repos.d/
sudo wget
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.
Target: armv5tel-redhat-linux-gnueabi
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.

Share this:

Support CNX Software! Donate via cryptocurrencies or become a Patron on Patreon

ROCK Pi 4C Plus
Notify of
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
Weller PCB manufacturer