Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains | 2024-09-01 | ||
Raspberry Pi GCC 64-Bit Native-Compiler Toolchains | 2024-09-01 | ||
README.md | 2024-09-01 | 19.4 kB | |
Totals: 3 Items | 19.4 kB | 76 |
TL'DR
What is this project?
This project provides the Latest, CI maintained, Precompiled Raspberry Pi CPU optimized GCC Cross & Native (ARM & ARM64) Compressed Standalone Toolchains, that is fastest to setup and saves you tons of time and helps you to get quickly started with software development on Pi.
Who will benefit from the project?
This project benefits everyone, from Professional Devs to a college research Student, looking for latest easy-to-use precompiled GCC toolchains for their Hobby Raspberry Pi project(s).
This project now utilizes powerful Github Actions CI(Continuous Integration) to auto-compile Compressed GCC Cross & Native ARM/ARM64 Toolchain binaries and thereby auto-deploy them to SourceForge repository.
Toolchain Binaries description table:
Here's a reference table for various CI generated OS targetted precompiled Toolchain Binaries available with this project:
- References:
- Host OS: on which the toolchain is executed/used.
- Target OS: for which the toolchain generates code.
Toolchains | Host OS | Target OS | Current Status | Precompiled GCC versions available |
---|---|---|---|---|
Raspberry Pi GCC Cross-Compiler Toolchains (Buster) | any x64/x86 Linux machine | Buster 32-bit OS (Debian Version 10) only | Stable/Production | 8.3.0, 10.2.0, 12.2.0, 13.3.0, 14.2.0 |
Raspberry Pi GCC Cross-Compiler Toolchains (Bullseye) | any x64/x86 Linux machine | Bullseye 32-bit OS (Debian Version 11) only | Stable/Production | 10.2.0, 12.2.0, 13.3.0, 14.2.0 |
Raspberry Pi GCC Cross-Compiler Toolchains (Bookworm) | any x64/x86 Linux machine | Bookworm 32-bit OS (Debian Version 12) only | Stable/Production | 12.2.0, 13.3.0, 14.2.0 |
Raspberry Pi GCC Native-Compiler Toolchains (Buster) | Buster 32-bit OS (Debian Version 10) only | Buster 32-bit OS (Debian Version 10) only | Stable/Production | 13.3.0, 14.2.0 |
Raspberry Pi GCC Native-Compiler Toolchains (Bullseye) | Bullseye 32-bit OS (Debian Version 11) only | Bullseye 32-bit OS (Debian Version 11) only | Stable/Production | 13.3.0, 14.2.0 |
Raspberry Pi GCC Native-Compiler Toolchains (Bookworm) | Bookworm 32-bit OS (Debian Version 12) only | Bookworm 32-bit OS (Debian Version 12) only | Stable/Production | 13.3.0, 14.2.0 |
Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains (Buster) | any x64/x86 Linux machine | Buster 64-bit OS (Debian Version 10) only | Stable/Production | 8.3.0, 10.2.0, 12.2.0, 13.3.0, 14.2.0 |
Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains (Bullseye) | any x64/x86 Linux machine | Bullseye 64-bit OS (Debian Version 11) only | Stable/Production | 10.2.0, 12.2.0, 13.3.0, 14.2.0 |
Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains (Bookworm) | any x64/x86 Linux machine | Bookworm 64-bit OS (Debian Version 12) only | Stable/Production | 12.2.0, 13.3.0, 14.2.0 |
Raspberry Pi GCC 64-Bit Native-Compiler Toolchains (Buster) | Buster 64-bit OS (Debian Version 10) only | Buster 64-bit OS (Debian Version 10) only | Stable/Production | 13.3.0, 14.2.0 |
Raspberry Pi GCC 64-Bit Native-Compiler Toolchains (Bullseye) | Bullseye 64-bit OS (Debian Version 11) only | Bullseye 64-bit OS (Debian Version 11) only | Stable/Production | 13.3.0, 14.2.0 |
Raspberry Pi GCC 64-Bit Native-Compiler Toolchains (Bookworm) | Bookworm 64-bit OS (Debian Version 12) only | Bookworm 64-bit OS (Debian Version 12) only | Stable/Production | 13.3.0, 14.2.0 |
Exclusive/Experimental Toolchains | x86/x86_64 Pi Desktop | x86/x86_64 Pi Desktop | Beta/Experimental | 14.2.0 (x86), 14.2.0 (x86_64) |
Tip: To get the location of each Binary of this project on SourceForge, you can also check out this Reference Tree.
Toolchain Setup Documentation:
These precompiled toolchains setup requires just three easy steps - Downloading, Extracting and Linking:
Supported Toolchains Programming Languages:
- C++
- Fortran
- C
- Any other language support can be easily compiled.
Supporting this Project
If these binaries helped you big time, please consider supporting it through any size donations. ❤️
You can also share your thoughts or just drop a 🌟.
Additional Information
Supported ARM Devices:
- All Raspberry Pi hardware/versions/models are currently supported.
- Any other ARM Device(such as android, IoT) with similar Hardware architecture(see Optimization Flags) should also work.
Optimization Flags Involved:
These toolchains are built with these following system-specific LTO (Link Time Optimization) flags, therefore you can easily take advantage of your Raspberry Pi's CPU specific features with these Toolchains while compiling your programs:
Important: The latest Raspberry Pi 5 uses a Broadcom BCM2711 SoC with a 2.4GHz 64-bit Quad-core Arm Cortex-A76 processor, that also have armv8-a architecture similar to Raspberry Pi 4, therefore it is also officially supported!
Raspberry Pi Board | Link Time Optimization Flags |
---|---|
Raspberry Pi - Zero W/WH/2W & 1 Model A/B/A+/B+ | -march=armv6 -mfloat-abi=hard -mfpu=vfp |
Raspberry Pi - 2/3 Model A/B | -march=armv7-a -mfloat-abi=hard -mfpu=neon-vfpv4 |
Raspberry Pi - 3 Model A+/B+ & 4 Model 400/B & 5 & Compute 3/3-lite/3+/4 (32-Bit) | -march=armv8-a -mfloat-abi=hard -mfpu=neon-fp-armv8 |
Raspberry Pi - 3 Model A+/B+ & 4 Model B 400/B & 5 & Compute 3/3-lite/3+/4 (64-Bit) | -march=armv8-a+fp+simd |
Citing
Here is a Bibtex entry you can use to cite this project in a publication:
@misc{raspberry-pi-cross-compilers,
Title = {Raspberry Pi Toolchains},
Author = {Abhishek Thakur},
howpublished = {\url{https://github.com/abhiTronix/raspberry-pi-cross-compilers}},
year = {2020}
}
Copyright License
Copyright © 2020 abhiTronix
This Project source-code and its precompiled binaries are licensed under the GPLv3 license.
Acknowledgments
Thank you,
- GNU project for providing the latest source code.
- Raspberry Pi project for providing the latest kernel and docs.
- GitHub Actions for making it easier to automate Toolchain Builder workflows.
- Sourceforge project for allowing me to publish these binaries.