Go to file
Nahuel Lofeudo 8496cfd72f Second set of commits for realtime support 2026-06-13 08:06:12 +01:00
resources Refresh the GTFS bundle every time the program starts. 2026-05-25 07:45:35 +01:00
src Second set of commits for realtime support 2026-06-13 08:06:12 +01:00
.gitignore We don't need to ignore the ttf file anymore. 2026-04-21 08:16:08 +01:00
Cargo.toml Second set of commits for realtime support 2026-06-13 08:06:12 +01:00
readme.md Partial migration of cross-compilation from `cross` to Cargo. 2026-05-25 09:49:26 +01:00

readme.md

Credits:

Install ARM toolchains:

$ rustup target add aarch64-unknown-linux-gnu
$ rustup target add arm-unknown-linux-gnueabihf


$ sudo dpkg --add-architecture arm64
$ sudo dpkg --add-architecture armhf

$ sudo apt update 
$ sudo apt-get install gcc-aarch64-linux-gnu gcc-arm-linux-gnueabihf \
                       libc6-arm64-cross libc6-dev-arm64-cross gcc-aarch64-linux-gnu \
                       libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf \
                       libssl-dev libssl-dev:arm64 libsdl3-dev:arm64 libssl-dev:armhf libsdl3-dev:armhf

Cross-compile

ARM64

$ export PKG_CONFIG_SYSROOT_DIR=/usr/aarch64-linux-gnu/
$ cargo build --target aarch64-unknown-linux-gnu --release

$ export PKG_CONFIG_SYSROOT_DIR=/usr/arm-linux-gnueabihf/
$ cargo build --target arm-unknown-linux-gnueabihf --release