bazza
Posts: 19
Joined: Thu Apr 17, 2014 8:26 am

GCC 6 Cross Compiler

Fri Mar 09, 2018 8:17 pm

Does anyone know of where there is a prebuilt gcc-6 cross compiler toolchain.

I have found (after a while away) that gcc-4xx no longer generates code that will link against the current libraries in Raspbian Stretch.

Thanks

LdB
Posts: 907
Joined: Wed Dec 07, 2016 2:29 pm

Re: GCC 6 Cross Compiler

Sat Mar 10, 2018 1:10 am

The official arm toolchain has mac, windows & 64 bit linux cross versions
https://developer.arm.com/open-source/g ... /downloads

You didn't say which O/S you wanted the cross from :-)

bazza
Posts: 19
Joined: Thu Apr 17, 2014 8:26 am

Re: GCC 6 Cross Compiler

Sat Mar 10, 2018 11:17 am

Thanks. I also found crosstools-ng has a RPi3 configuration for gcc-6. Built OK.

qsrc
Posts: 6
Joined: Tue Oct 04, 2016 8:39 pm

Re: GCC 6 Cross Compiler

Wed Oct 03, 2018 10:34 pm

Note that the "official ARM toolchain" pointed to by @LdB is for bare-metal applications (arm-none-eabi).

Linaro provides pre-built cross-compilation toolchain releases for Linux targets (armv8l-linux-gnueabihf) here:
https://www.linaro.org/latest/downloads/

Return to “C/C++”