Skip to content

Simple and minimal clang cross compiler for Raspberry pi zero

License

Notifications You must be signed in to change notification settings

nicolasbrailo/rpiz-xcompile

Repository files navigation

rpiz-xcompile

Simple and minimal clang cross compiler for Raspberry pi zero

A way to x-compile things from Debian Bookworm to Raspberry Pi Zero Debian. May work in other platforms.

Read more here.

Example:

./mount_rpy_root.sh
clang -o foo -target arm-linux-gnueabihf -mcpu=arm1176jzf-s --sysroot ./mnt/ foo.c
./umount_rpy_root.sh

This has high changes of producing a binary foo, which can be run in a Raspberry Pi Zero.

About

Simple and minimal clang cross compiler for Raspberry pi zero

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published