Skip to content

Cross-Toolchain for 64-bit (Musl)

Pre-release
Pre-release
Compare
Choose a tag to compare
@dslm4515 dslm4515 released this 07 Dec 23:21
· 1 commit to dev-3.00 since this release
7ceaff9

Cross-Toolchain (/cross-tools)

The toolchain to cross-build the final toolchain (/tools) used to build a MLFS system.

Purpose: Helps create a tool chain that uses a Libc other than Glibc.

Host: x86_64-lfs-linux-musl (Musl)
Target: Runs on Host but builds binaries that compile for x86_64-linux-musl

To use: Extract to directory then [as root] link it as "/cross-tools". Then prefix $PATH with "/cross-tools"

UPDATE: Fixed issue with conflicting build triplet when building on a musl host. Using x86_64-mlfs-linux-musl instead of x86_64-linux-musl.

NOTE:
Toolchain runs on a host with musl and with dynamic loader at /lib:

$ ldd /cross-tools/bin/x86_64-mlfs-linux-musl-gcc
        /lib/ld-musl-x86_64.so.1 (0x7fcaa9a37000)
        libc.so => /lib/ld-musl-x86_64.so.1 (0x7fcaa9a37000)