Skip to content

Cross Tool Chain (64-bit) for x86_64-musl 5.00

Compare
Choose a tag to compare
@dslm4515 dslm4515 released this 26 Sep 16:23
· 40 commits to stable-5.00 since this release

Crosis-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 musl Libc other than Glibc.

Host: x86_64-lfs-linux-gnu (Glibc)
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/bin

NOTE:
Toolchain runs on a host with Glibc and with dynamic loader at /lib64:

$ ldd /cross-tools/bin/x86_64-linux-musl-gcc
 linux-vdso.so.1 (0x00007ffcb9b16000)
 libm.so.6 => /lib/libm.so.6 (0x00007f8c9b4dd000)
 libc.so.6 => /lib/libc.so.6 (0x00007f8c9b12b000)
 /lib64/ld-linux-x86-64.so.2 (0x00007f8c9b81e000)