musl libc
wiki.musl-libc.org › getting-started.html
musl libc - Getting started
make TARGET=arm-linux-musleabihf GCC_CONFIG="--with-arch=armv6k --with-fpu=vfpv2" install
Videos
13:32
Install pre-compiled ARM cross-compiler onto Ubuntu Linux. - YouTube
15:07
Install arm-linux-gcc and gFTP - YouTube
03:30
Install ARM GNU Toolchain on Window 10 - YouTube
01:17
Download GCC ARM Embedded on Ubuntu - YouTube
19:28
ARM Development with GCC and Make (1) - YouTube
00:50
Installing ARM Compiler toolchain - YouTube
Oroboro
oroboro.com › build-gcc-musl-raspbian
Build GCC with Musl for Raspbian – Rafael Baptista
October 6, 2016 - # ARCH will be auto-detected as the host if not specified #ARCH=i486 #ARCH=x86_64 #ARCH=powerpc ARCH=arm #ARCH=microblaze #ARCH=mips #ARCH=mipsel CC_BASE_PREFIX=/opt/cross # If you use arm, you may need more fine-tuning: # arm hardfloat v7 TRIPLE=arm-linux-musleabihf GCC_BOOTSTRAP_CONFFLAGS="--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16" GCC_CONFFLAGS="--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16" # arm softfp #TRIPLE=arm-linux-musleabi #GCC_BOOTSTRAP_CONFFLAGS="--with-arch=armv7-a --with-float=softfp" #GCC_CONFFLAGS="--with-arch=armv7-a --with-float=softfp" MAKEFLAGS=-j8 # Enable this to build the bootstrap gcc (thrown away) without optimization, to reduce build time GCC_STAGE1_NOOPT=1 # GCC_BUILTIN_PREREQS=yes
Arch Linux
aur.archlinux.org › packages › arm-linux-gnueabihf-gcc
AUR (en) - arm-linux-gnueabihf-gcc
This process involves cloning the gcc repo three times and the glibc repo twice. Due to all of this, building the toolchain will take over 11GB of space. In case it helps anyone, here's the current functional process until this is fixed and/or streamlined: Create and configure an isolated PGP keyring directory for AUR: (umask 077 && mkdir -p ~/.gnupg-aur) export GNUPGHOME=$HOME/.gnupg-aur · Install arm-linux-gnueabihf-gcc-stage1 from AUR (with -binutils dependency).
GitHub
github.com › rust-embedded › cross › issues › 604
error: linking with `arm-linux-musleabihf-gcc` failed: exit status: 1 · Issue #604 · cross-rs/cross
November 2, 2021 - error: linking with `arm-linux-musleabihf-gcc` failed: exit status: 1 | = note: "arm-linux-musleabihf-gcc" "/rust/lib/rustlib/arm-unknown-linux-musleabihf/lib/self-contained/crt1.o" "/rust/lib/rustlib/arm-unknown-linux-musleabihf/lib/self-contained/crti.o" "/rust/lib/rustlib/arm-unknown-linux-musleabihf/lib/self-contained/crtbegin.o" "/target/arm-unknown-linux-musleabihf/release/deps/cloud_gateway-1217d753b6b2adfa.cloud_gateway.f31181f6-cgu.0.rcgu.o" "-Wl,--as-needed" "-L" "/target/arm-unknown-linux-musleabihf/release/deps" "-L" "/target/release/deps" "-L" "/target/arm-unknown-linux-musleabihf
Author cross-rs
GitHub
github.com › svenschwermer › golang-arm-linux-musleabihf
GitHub - svenschwermer/golang-arm-linux-musleabihf: Golang build container with GCC/musl toolchain to (statically) cross-compile for armhf
Golang build container with GCC/musl toolchain to (statically) cross-compile for armhf - svenschwermer/golang-arm-linux-musleabihf
Author svenschwermer
GitHub
github.com › mauricelos › onnxruntime-arm-linux-musleabihf-cross
GitHub - mauricelos/onnxruntime-arm-linux-musleabihf-cross: Builds ONNX Runtime for ARMv7 using a bootlin musl toolchain · GitHub
git clone --recurse-submodules https://github.com/mauricelos/onnxruntime-arm-linux-musleabihf-cross.git cd onnxruntime-arm-linux-musleabihf-cross · Build the ONNX Runtime Library using Bazel with Bootlin musl toolchain: python3 bazelisk/bazelisk.py build //:onnxruntime_test --platforms=//toolchain_arm32_gcc_musl --compilation_mode=opt
Starred by 2 users
Forked by 2 users
Languages Starlark 66.7% | C++ 33.3%
GitHub
github.com › FiloSottile › homebrew-musl-cross
GitHub - FiloSottile/homebrew-musl-cross: Homebrew Formula for static-friendly musl-based GCC macOS-to-Linux cross-compilers · GitHub
One-click static-friendly musl-based GCC macOS-to-Linux cross-compilers based on richfelker/musl-cross-make. ... By default it will install full cross compiler toolchains targeting musl Linux amd64, arm64, and arm.
Starred by 660 users
Forked by 53 users
Languages Ruby
Rust Programming Language
users.rust-lang.org › help
Cross-compiling from macOS to ARM - help - The Rust Programming Language Forum
February 24, 2021 - Trying to cross-compile from Mac to a raspberry pi zero W which runs ARMv6. Edit: Now the compiling issue is with openssl. If anyone knows how to get compiling openssl working, that'd be awesome. Original: I've set up my .cargo/config as the following [target.arm-unknown-linux-musleabihf] linker = "arm-linux-gnueabihf-ld" but keep getting an error --- stderr /bin/sh: arm-linux-musleabihf-gcc: command not found make[1]: *** [apps/app_rand.o] Error 127 make[1]: *** Waiting for unfinish...
GitHub
github.com › richfelker › musl-cross-make › issues › 85
Unable to build Linux kernel with ARM cross toolchain · Issue #85 · richfelker/musl-cross-make
February 17, 2020 - COLLECT_GCC=./arm-linux-musleabihf-gcc COLLECT_LTO_WRAPPER=/build/cross-arm/bin/../libexec/gcc/arm-linux-musleabihf/9.2.0/lto-wrapper Target: arm-linux-musleabihf Configured with: ../src_gcc/configure --enable-languages=c,c++ --with-float=hard --disable-nls --disable-shared --enable-languages=c CC='gcc -static --static' CXX='g++ -static --static' --enable-languages=c --disable-libquadmath --disable-decimal-float --disable-multilib --disable-bootstrap --disable-assembly --disable-werror --target=arm-linux-musleabihf --prefix= --libdir=/lib --disable-multilib --with-sysroot=/arm-linux-musleabihf
Author richfelker
GitHub
github.com › eclipse-paho › paho.mqtt.rust › issues › 144
Failing to cross-compile on Mac due to use of gcc '-arch' argument · Issue #144 · eclipse-paho/paho.mqtt.rust
February 2, 2022 - I'm building on an M1 Mac (arm64) for an armv7-unknown-linux-musleabihf target, and facing what looks to be a simple compilation issue below. By the way, I have no issues with either of the following: ... Therefore I believe this to be specific to building paho-mqtt on a Mac. ... My analysis: while -arch appears to be a valid option for Apple's native gcc, it's generally not valid for cross-compilation toolchains (related discussion).
Author eclipse-paho
Rust Programming Language
users.rust-lang.org › help
How to install armv7-unknown-linux-musleabihf - help - The Rust Programming Language Forum
October 7, 2022 - Hello, I would like to install armv7-unknown-linux-musleabihf, I am trying to do it using sudo apt install armv7-unknown-linux-musleabihf However getting error Reading package lists... Done Building dependency tre…
Black Duck
community.blackduck.com › s › article › configure-arm-buildroot-linux-musleabihf-gcc-compiler
configure arm-buildroot-linux-musleabihf-gcc compiler
Loading · ×Sorry to interrupt · Refresh
GitHub
github.com › rust-lang › rust › issues › 115921
Error in obtaining time on ‘arm-unknown-linux-musleabihf’ platform · Issue #115921 · rust-lang/rust
September 18, 2023 - cargo build --target arm-unknown-linux-musleabihf [target.arm-unknown-linux-musleabihf] linker = "arm-linux-musleabihf-gcc" # https://musl.cc/arm-linux-musleabihf-cross.tgz
Author rust-lang
Musl
musl.cc
musl libc toolchains | static cross/native toolchains
musl.cc provides static cross- and native- musl-based toolchains for Linux, Windows, and macOS, targeting architectures like ARM, MIPS, PowerPC, RISC-V, S/390, and more.
Sigmaris
sigmaris.info › blog › 2019 › 02 › cross-compiling-rust-on-mac-os-for-an-arm-linux-router
Cross compiling Rust on Mac OS for an ARM Linux router - sigmaris.info
February 4, 2019 - It seemed like I might need to install a more complete Linux toolchain that includes those libraries, but before trying that, let’s look at the other Rust target – armv7-unknown-linux-musleabihf. The “musl” in the name refers to the musl C library, a small C library that can be statically linked with Rust programs instead of the GNU C library.