Small and reliable pre-built GCC toolchains4 for many architectures.
Cross (i686-hosted) by default. Native for completeness.
Static so they run on supported platforms without dependencies.
This site is curl-friendly for direct links to toolchains!
$ curl -s musl.cc | grep mips https://musl.cc/mips-linux-musl-cross.tgz ...
Toolchains are built1 using several modified versions (see below) of
musl-cross-make.
For your convenience, Docker images2 are provided and updated regularly:
$ docker pull muslcc/i686:aarch64-linux-musl
Many thanks to others in the #musl
and associated communities for making this site possible.
In particular,
Rob Landley,
Laurent Bercot (skarnet), and of course
Rich Felker (dalias).
config.mak
]config.mak
]
Toolchains:
Toolchains support the following languages:
C,
C++,
Fortran
except where noteda.
They are cryptographically signed with the following key:
0xB1D0B4566FBBDB40
GCC major releases: (
5,
6,
7,
8,
9,
10,
11 ). **Other toolchains are being rebuilt now after disk failure!**
For non-i686 toolchains, click here.
Something else? Contact me.
../ SHA512SUMS 06-Feb-2023 19:45 17033 aarch64-linux-musl-cross.tgz 23-Nov-2021 04:34 108096828 aarch64-linux-musl-native.tgz 23-Nov-2021 04:43 85323901 aarch64_be-linux-musl-cross.tgz 23-Nov-2021 04:34 109388665 aarch64_be-linux-musl-native.tgz 23-Nov-2021 04:43 86177030 arm-linux-musleabi-cross.tgz 23-Nov-2021 04:34 102611361 arm-linux-musleabi-native.tgz 23-Nov-2021 04:44 78803789 arm-linux-musleabihf-cross.tgz 23-Nov-2021 04:34 102391022 arm-linux-musleabihf-native.tgz 23-Nov-2021 04:44 78565379 armeb-linux-musleabi-cross.tgz 23-Nov-2021 04:34 103654098 armeb-linux-musleabi-native.tgz 23-Nov-2021 04:44 79166263 armeb-linux-musleabihf-cross.tgz 23-Nov-2021 04:34 103429878 armeb-linux-musleabihf-native.tgz 23-Nov-2021 04:44 78858753 armel-linux-musleabi-cross.tgz 23-Nov-2021 04:34 102614527 armel-linux-musleabi-native.tgz 23-Nov-2021 04:44 78807653 armel-linux-musleabihf-cross.tgz 23-Nov-2021 04:35 102399957 armel-linux-musleabihf-native.tgz 23-Nov-2021 04:44 78573749 armv5l-linux-musleabi-cross.tgz 23-Nov-2021 04:35 102623662 armv5l-linux-musleabi-native.tgz 23-Nov-2021 04:44 78815373 armv5l-linux-musleabihf-cross.tgz 23-Nov-2021 04:35 102404677 armv5l-linux-musleabihf-native.tgz 23-Nov-2021 04:45 78564768 armv6-linux-musleabi-cross.tgz 23-Nov-2021 04:35 102626420 armv6-linux-musleabi-native.tgz 23-Nov-2021 04:45 78791413 armv6-linux-musleabihf-cross.tgz 23-Nov-2021 04:35 102401216 armv6-linux-musleabihf-native.tgz 23-Nov-2021 04:45 78574645 armv7l-linux-musleabihf-cross.tgz 23-Nov-2021 04:35 102402461 armv7l-linux-musleabihf-native.tgz 23-Nov-2021 04:45 78569942 armv7m-linux-musleabi-cross.tgz 23-Nov-2021 04:36 102619580 armv7m-linux-musleabi-native.tgz 23-Nov-2021 04:45 78798631 armv7r-linux-musleabihf-cross.tgz 23-Nov-2021 04:36 102412649 armv7r-linux-musleabihf-native.tgz 23-Nov-2021 04:45 78566914 i486-linux-musl-cross.tgz 23-Nov-2021 04:36 110230922 i486-linux-musl-native.tgz 23-Nov-2021 04:45 90828057 i686-linux-musl-cross.tgz 23-Nov-2021 04:36 110615829 i686-linux-musl-native.tgz 23-Nov-2021 04:45 91352982 i686-w64-mingw32-cross.tgz 06-Feb-2023 19:39 118748431 i686-w64-mingw32-native.zip 06-Feb-2023 19:40 100867674 m68k-linux-musl-cross.tgz 23-Nov-2021 04:37 88772176 m68k-linux-musl-native.tgz 23-Nov-2021 04:46 66758725 microblaze-linux-musl-cross.tgz 23-Nov-2021 04:37 77139446 microblaze-linux-musl-native.tgz 23-Nov-2021 04:46 65199179 microblazeel-linux-musl-cross.tgz 23-Nov-2021 04:37 76421572 microblazeel-linux-musl-native.tgz 23-Nov-2021 04:46 65037724 mips-linux-musl-cross.tgz 23-Nov-2021 04:37 102663387 mips-linux-musl-native.tgz 23-Nov-2021 04:46 89969825 mips-linux-musln32sf-cross.tgz 23-Nov-2021 04:37 102995683 mips-linux-musln32sf-native.tgz 23-Nov-2021 04:46 90507774 mips-linux-muslsf-cross.tgz 23-Nov-2021 04:37 102993400 mips-linux-muslsf-native.tgz 23-Nov-2021 04:46 90507040 mips64-linux-musl-cross.tgz 23-Nov-2021 04:37 105099504 mips64-linux-musl-native.tgz 23-Nov-2021 04:47 89310656 mips64-linux-musln32-cross.tgz 23-Nov-2021 04:38 103528668 mips64-linux-musln32-native.tgz 23-Nov-2021 04:47 85676614 mips64-linux-musln32sf-cross.tgz 23-Nov-2021 04:38 103730323 mips64-linux-musln32sf-native.tgz 23-Nov-2021 04:47 85835622 mips64el-linux-musl-cross.tgz 23-Nov-2021 04:38 103773398 mips64el-linux-musl-native.tgz 23-Nov-2021 04:47 88576226 mips64el-linux-musln32-cross.tgz 23-Nov-2021 04:38 102504666 mips64el-linux-musln32-native.tgz 23-Nov-2021 04:47 85078437 mips64el-linux-musln32sf-cross.tgz 23-Nov-2021 04:38 102681068 mips64el-linux-musln32sf-native.tgz 23-Nov-2021 04:47 85183347 mipsel-linux-musl-cross.tgz 23-Nov-2021 04:39 101686600 mipsel-linux-musl-native.tgz 23-Nov-2021 04:47 88905705 mipsel-linux-musln32-cross.tgz 23-Nov-2021 04:39 101687369 mipsel-linux-musln32-native.tgz 23-Nov-2021 04:48 88916236 mipsel-linux-musln32sf-cross.tgz 23-Nov-2021 04:39 102025608 mipsel-linux-musln32sf-native.tgz 23-Nov-2021 04:48 89430111 mipsel-linux-muslsf-cross.tgz 23-Nov-2021 04:39 101924710 mipsel-linux-muslsf-native.tgz 23-Nov-2021 04:48 89417428 or1k-linux-musl-cross.tgz 23-Nov-2021 04:39 89536280 or1k-linux-musl-native.tgz 23-Nov-2021 04:48 79807514 powerpc-linux-musl-cross.tgz 23-Nov-2021 04:39 104447543 powerpc-linux-musl-native.tgz 23-Nov-2021 04:48 92571103 powerpc-linux-muslsf-cross.tgz 23-Nov-2021 04:39 104769316 powerpc-linux-muslsf-native.tgz 23-Nov-2021 04:48 92945351 powerpc64-linux-musl-cross.tgz 23-Nov-2021 04:40 108561976 powerpc64-linux-musl-native.tgz 23-Nov-2021 04:49 94929190 powerpc64le-linux-musl-cross.tgz 23-Nov-2021 04:40 107101732 powerpc64le-linux-musl-native.tgz 23-Nov-2021 04:49 94676436 powerpcle-linux-musl-cross.tgz 23-Nov-2021 04:40 103346325 powerpcle-linux-musl-native.tgz 23-Nov-2021 04:49 92908420 powerpcle-linux-muslsf-cross.tgz 23-Nov-2021 04:40 103677017 powerpcle-linux-muslsf-native.tgz 23-Nov-2021 04:49 93237076 riscv32-linux-musl-cross.tgz 23-Nov-2021 04:40 104943190 riscv32-linux-musl-native.tgz 23-Nov-2021 04:49 74830380 riscv64-linux-musl-cross.tgz 23-Nov-2021 04:41 108069067 riscv64-linux-musl-native.tgz 23-Nov-2021 04:49 73802989 s390x-linux-musl-cross.tgz 23-Nov-2021 04:41 100597838 s390x-linux-musl-native.tgz 23-Nov-2021 04:49 79077153 sh2-linux-musl-cross.tgz 23-Nov-2021 04:41 90466387 sh2-linux-musl-native.tgz 23-Nov-2021 04:50 77025210 sh2-linux-muslfdpic-cross.tgz 23-Nov-2021 04:41 90591810 sh2-linux-muslfdpic-native.tgz 23-Nov-2021 04:50 84547239 sh2eb-linux-musl-cross.tgz 23-Nov-2021 04:41 91125392 sh2eb-linux-musl-native.tgz 23-Nov-2021 04:50 77890273 sh2eb-linux-muslfdpic-cross.tgz 23-Nov-2021 04:41 91249162 sh2eb-linux-muslfdpic-native.tgz 23-Nov-2021 04:50 85937566 sh4-linux-musl-cross.tgz 23-Nov-2021 04:42 90411456 sh4-linux-musl-native.tgz 23-Nov-2021 04:50 77104595 sh4eb-linux-musl-cross.tgz 23-Nov-2021 04:42 91071805 sh4eb-linux-musl-native.tgz 23-Nov-2021 04:50 77887755 x86_64-linux-musl-cross.tgz 23-Nov-2021 04:42 115063639 x86_64-linux-musl-native.tgz 23-Nov-2021 04:50 89080066 x86_64-linux-muslx32-cross.tgz 23-Nov-2021 04:42 113789639 x86_64-linux-muslx32-native.tgz 23-Nov-2021 04:50 89243021 x86_64-w64-mingw32-cross.tgz 06-Feb-2023 19:42 129885644 x86_64-w64-mingw32-native.zip 06-Feb-2023 19:43 104276486
Bugs discovered:
This effort has led to the discovery of several compiler bugs:
-freorder-blocks-algorithm=simple
due to an aforementioned bug.gcc-8_2_0-release
to 45d0f2
from here (thanks smaeul). GCC 9 includes it.Other notes:
.zip
for convenience:
i686/sig and
x86_64/sig (built with
this).
References:
[1]: Toolchains are built using Adélie Linux via these scripts. You can also use this platform-agnostic script.
[2]: Docker images based on the Alpine Linux image for size. Packaged with MacroMμ. x86_64-hosted images no longer updated.
[3]: Validate binaries against my public key.
[4]: Clang/LLVM is on the TODO list. Contributions welcome. Look at ELLCC in the interim.