From 8b7f05db0453d0a8af6bd89631be977d4fe8cf16 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Tue, 5 Dec 2023 14:16:36 +0100 Subject: gcc-musl-static: Support cross-compiler build --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e297796..76fc9a4 100644 --- a/README.md +++ b/README.md @@ -47,16 +47,17 @@ Details about toolchain variants: the target system*) - **supports fully static linking (unlike *glibc* toolchains)** - **supports cross-compilation for project's `TARGET_ARCH`** -- `-musl-static`: statically linked compiler with musl support +- `-musl-static`: statically linked *cross* compiler with musl support - runs on systems without any existing C library - **links against bundled *musl libc*** (*note that dynamically linked binaries require a working musl ld+libc on the target system*) - **supports fully static linking (unlike *glibc* toolchains)** + - **supports cross-compilation for project's `TARGET_ARCH`** - `+tools` (e.g., `gcc-13.2.0-native+tools`) - `` bundled with all latest tools (see `tools-all` above) -Non-static `musl` variants support cross-compilation. In your project, make sure +All `musl` variants support cross-compilation. In your project, make sure that the variables `ARCH` and `TARGET_ARCH` are set to one of the following values: `x86`, `x86_64`, `arm`, or `arm64`. -- cgit v1.2.3