I'm attempting to cross-compile a C++11 project for my Raspberry pi. In my searching online, I have come to the conclusion that I need the g++-arm-linux-gnueabihf
compiler (please correct me if I am wrong here). I am running Fedora 27 on my host machine, and I can only find how to install it on Ubuntu systems. The closest I came was with this install command: sudo dnf install arm-linux-gnueabihf-{binutils,gcc,glibc}
, and this was the output:
No match for argument: arm-linux-gnueabihf-binutils
No match for argument: arm-linux-gnueabihf-gcc
No match for argument: arm-linux-gnueabihf-glibc
Error: Unable to find a match
If someone could point me to the correct compiler to download to accomplish this it would be appreciated. This is my first time cross-compiling anything, so feel free to correct me anywhere that I have gone wrong.