https://github.com/devgianlu/rpi-toolchain
A Rasperry Pi Zero W toolchain
https://github.com/devgianlu/rpi-toolchain
crosscompile crosstool-ng raspberry-pi
Last synced: 11 months ago
JSON representation
A Rasperry Pi Zero W toolchain
- Host: GitHub
- URL: https://github.com/devgianlu/rpi-toolchain
- Owner: devgianlu
- Created: 2023-10-03T18:27:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T21:32:51.000Z (over 2 years ago)
- Last Synced: 2025-01-12T17:47:26.492Z (about 1 year ago)
- Topics: crosscompile, crosstool-ng, raspberry-pi
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rpi-toolchain
This repository contains a crosstool-ng configuration file to build a toolchain for the Raspberry Pi Zero W. The
configuration was modified from the one
available [here](https://gist.github.com/h0tw1r3/19e48ae3021122c2a2ebe691d920a9ca) to be more up-to-date with current
releases of Raspbian.
This was necessary as `arm-rpi-linux-gnueabihf-gcc` will embed ARM Thumb code when linking to libc which is not
supported by the Raspberry Pi Zero W processor,
see [here](https://stackoverflow.com/questions/46276917/how-to-compile-arm32-only-binary-no-thumb). This toolchain
produces 100% non-thumb ARM assembly.
This toolchain is mainly used to build Raspberry compatible builds
of [go-librespot](https://github.com/devgianlu/go-librespot).