You are not logged in.
Based on the arm-linux-gnueabihf-gcc AUR packages, I've created a working cross-compiler that targets Arch Linux ARM on the Raspberry Pi (and probably others). It's on GitHub here for now. Just clone it and run ./install.sh to build and install all the stages in the right order.
The fixes over the AUR packages are:
- glibc-headers installs an empty include/gnu/stubs.h, which fixes libgcc compilation
- Hard float ABI actually used (--with-float=hard --with-fpu=vfp)
- Enabled linker plugins to allow LTO
- Use /lib instead of /libexec, which fixes gcc-ar (for building static libs with LTO)
Since Arch ARM is sitll on gcc 4.8 still, you may need to build and install a newer libstdc++ to get C++ code working.
Last edited by tavianator (2014-10-09 18:04:40)
Offline