Skip to content

lindevs/cross-compiler-raspberrypi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Cross-Compiler

Raspberry Pi cross-compiler toolchain which contains:

Name Version
GCC 12.2.0
glibc 2.36
Binutils 2.40
GDB 10.2

Supported OS

  • Host OS: any x64 Linux machine
  • Target OS: Raspberry Pi OS Bookworm 64-bit

Usage

  • Build Docker image:
docker build -t cross-pi-gcc docker
  • Build cross-compiler toolchain:
docker run -it --rm -v ~/out:/out cross-pi-gcc -c ./build.sh

Note: The cross-gcc-12.2.0-pi_64.tar.gz file will saved to ~/out directory.

About

Raspberry Pi cross-compiler toolchain

Resources

Stars

Watchers

Forks

Packages

No packages published