updated 2024-09-20
Version 2409? (Build 16.0.17928.20148)
| sudo apt-get install -qy binutils-aarch64-linux-gnu gcc-aarch64-linux-gnu g++-aarch64-linux-gnu | |
| export CMAKE_SYSTEM_NAME=Linux | |
| export TARGET=aarch64-linux-gnu | |
| export TARGET_AR=aarch64-linux-gnu-ar | |
| export TARGET_CC=aarch64-linux-gnu-gcc | |
| export TARGET_CXX=aarch64-linux-gnu-g++ | |
| export TARGET_RANLIB=aarch64-linux-gnu-ranlib | |
| export TARGET_CPP=aarch64-linux-gnu-cpp | |
| export TARGET_LD=aarch64-linux-gnu-ld | |
| export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=$TARGET_CC |
| # Setup QEMU for x86-64 Docker images on Raspberry Pi 4 | |
| # Install Python3 and Docker first: https://dev.to/rohansawant/installing-docker-and-docker-compose-on-the-raspberry-pi-in-5-simple-steps-3mgl | |
| # Install QUEMU (https://www.qemu.org/) | |
| sudo apt-get install qemu binfmt-support qemu-user-static | |
| # Use QUS in Docker (https://github.com/dbhi/qus) to configure x86_64 architecture | |
| docker run --rm --privileged aptman/qus -s -- -p x86_64 | |
| # Test x86-64 image: |
To remove a submodule you need to: