Your source for static cross- and native- musl-based toolchains.

This is a community website and is not officially endorsed by musl or its authors.

toolchains ( linux, windows, mac, solaris, docker, sources, config, more... )
xstatic ( distro, kernel, packages, sources )
meta ( changelog, matrix )
links ( musl, mingw, risc-v )

Small and reliable pre-built GCC toolchains 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
Compiler prefixes are removed in those images and they're rsync'd to root.

Many thanks to others in the #musl and associated communities for making this effort possible.
In particular, Rob Landley, Laurent Bercot (skarnet), and of course Rich Felker (dalias).

Ingredients:

[ Standard: source/config.mak ]
[ MinGW: source/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 ).
For non-i686 toolchains, click here. Something else? Contact me.

Index of /

Index of /


../
SHA512SUMS                                         13-Mar-2020 03:03               36424
aarch64-linux-musl-cross.tgz                       13-Mar-2020 03:01            90842032
aarch64-linux-musl-cross.tgz.sig                   13-Mar-2020 03:01                 566
aarch64-linux-musl-native.tgz                      13-Mar-2020 03:01            63673524
aarch64-linux-musl-native.tgz.sig                  13-Mar-2020 03:01                 566
aarch64_be-linux-musl-cross.tgz                    13-Mar-2020 03:01            92914576
aarch64_be-linux-musl-cross.tgz.sig                13-Mar-2020 03:01                 566
aarch64_be-linux-musl-native.tgz                   13-Mar-2020 03:01            64040428
aarch64_be-linux-musl-native.tgz.sig               13-Mar-2020 03:01                 566
arm-linux-musleabi-cross.tgz                       13-Mar-2020 03:01            88123982
arm-linux-musleabi-cross.tgz.sig                   13-Mar-2020 03:01                 566
arm-linux-musleabi-native.tgz                      13-Mar-2020 03:01            63639995
arm-linux-musleabi-native.tgz.sig                  13-Mar-2020 03:01                 566
arm-linux-musleabihf-cross.tgz                     13-Mar-2020 03:01            88001160
arm-linux-musleabihf-cross.tgz.sig                 13-Mar-2020 03:01                 566
arm-linux-musleabihf-native.tgz                    13-Mar-2020 03:01            63473345
arm-linux-musleabihf-native.tgz.sig                13-Mar-2020 03:01                 566
armeb-linux-musleabi-cross.tgz                     13-Mar-2020 03:01            89805855
armeb-linux-musleabi-cross.tgz.sig                 13-Mar-2020 03:01                 566
armeb-linux-musleabi-native.tgz                    13-Mar-2020 03:01            63806121
armeb-linux-musleabi-native.tgz.sig                13-Mar-2020 03:01                 566
armeb-linux-musleabihf-cross.tgz                   13-Mar-2020 03:01            89690706
armeb-linux-musleabihf-cross.tgz.sig               13-Mar-2020 03:01                 566
armeb-linux-musleabihf-native.tgz                  13-Mar-2020 03:01            63600330
armeb-linux-musleabihf-native.tgz.sig              13-Mar-2020 03:01                 566
armel-linux-musleabi-cross.tgz                     13-Mar-2020 03:01            88136614
armel-linux-musleabi-cross.tgz.sig                 13-Mar-2020 03:01                 566
armel-linux-musleabi-native.tgz                    13-Mar-2020 03:01            63646071
armel-linux-musleabi-native.tgz.sig                13-Mar-2020 03:01                 566
armel-linux-musleabihf-cross.tgz                   13-Mar-2020 03:01            87982182
armel-linux-musleabihf-cross.tgz.sig               13-Mar-2020 03:01                 566
armel-linux-musleabihf-native.tgz                  13-Mar-2020 03:01            63478311
armel-linux-musleabihf-native.tgz.sig              13-Mar-2020 03:01                 566
armv5l-linux-musleabihf-cross.tgz                  13-Mar-2020 03:01            87982298
armv5l-linux-musleabihf-cross.tgz.sig              13-Mar-2020 03:01                 566
armv5l-linux-musleabihf-native.tgz                 13-Mar-2020 03:01            63487391
armv5l-linux-musleabihf-native.tgz.sig             13-Mar-2020 03:01                 566
armv7l-linux-musleabihf-cross.tgz                  13-Mar-2020 03:01            88002201
armv7l-linux-musleabihf-cross.tgz.sig              13-Mar-2020 03:01                 566
armv7l-linux-musleabihf-native.tgz                 13-Mar-2020 03:01            63473156
armv7l-linux-musleabihf-native.tgz.sig             13-Mar-2020 03:01                 566
armv7m-linux-musleabi-cross.tgz                    13-Mar-2020 03:01            88151332
armv7m-linux-musleabi-cross.tgz.sig                13-Mar-2020 03:01                 566
armv7m-linux-musleabi-native.tgz                   13-Mar-2020 03:01            63645134
armv7m-linux-musleabi-native.tgz.sig               13-Mar-2020 03:01                 566
armv7r-linux-musleabihf-cross.tgz                  13-Mar-2020 03:01            87990366
armv7r-linux-musleabihf-cross.tgz.sig              13-Mar-2020 03:01                 566
armv7r-linux-musleabihf-native.tgz                 13-Mar-2020 03:01            63477376
armv7r-linux-musleabihf-native.tgz.sig             13-Mar-2020 03:01                 566
i486-linux-musl-cross.tgz                          13-Mar-2020 03:01            93233872
i486-linux-musl-cross.tgz.sig                      13-Mar-2020 03:01                 566
i486-linux-musl-native.tgz                         13-Mar-2020 03:01            70410931
i486-linux-musl-native.tgz.sig                     13-Mar-2020 03:01                 566
i686-linux-musl-cross.tgz                          13-Mar-2020 03:01            93768757
i686-linux-musl-cross.tgz.sig                      13-Mar-2020 03:01                 566
i686-linux-musl-native.tgz                         13-Mar-2020 03:01            70710703
i686-linux-musl-native.tgz.sig                     13-Mar-2020 03:01                 566
i686-w64-mingw32-cross.tgz                         13-Mar-2020 03:01           103005600
i686-w64-mingw32-cross.tgz.sig                     13-Mar-2020 03:01                 566
i686-w64-mingw32-native.zip                        13-Mar-2020 03:01            90638734
i686-w64-mingw32-native.zip.sig                    13-Mar-2020 03:01                 566
m68k-linux-musl-cross.tgz                          13-Mar-2020 03:01            78879935
m68k-linux-musl-cross.tgz.sig                      13-Mar-2020 03:01                 566
m68k-linux-musl-native.tgz                         13-Mar-2020 03:01            54888228
m68k-linux-musl-native.tgz.sig                     13-Mar-2020 03:01                 566
microblaze-linux-musl-cross.tgz                    13-Mar-2020 03:01            68359473
microblaze-linux-musl-cross.tgz.sig                13-Mar-2020 03:01                 566
microblaze-linux-musl-native.tgz                   13-Mar-2020 03:01            52880473
microblaze-linux-musl-native.tgz.sig               13-Mar-2020 03:01                 566
microblazeel-linux-musl-cross.tgz                  13-Mar-2020 03:01            67455977
microblazeel-linux-musl-cross.tgz.sig              13-Mar-2020 03:01                 566
microblazeel-linux-musl-native.tgz                 13-Mar-2020 03:01            52819768
microblazeel-linux-musl-native.tgz.sig             13-Mar-2020 03:01                 566
mips-linux-musl-cross.tgz                          13-Mar-2020 03:01            88592736
mips-linux-musl-cross.tgz.sig                      13-Mar-2020 03:01                 566
mips-linux-musl-native.tgz                         13-Mar-2020 03:01            70575530
mips-linux-musl-native.tgz.sig                     13-Mar-2020 03:01                 566
mips-linux-musln32sf-cross.tgz                     13-Mar-2020 03:01            88932370
mips-linux-musln32sf-cross.tgz.sig                 13-Mar-2020 03:01                 566
mips-linux-musln32sf-native.tgz                    13-Mar-2020 03:01            71055347
mips-linux-musln32sf-native.tgz.sig                13-Mar-2020 03:01                 566
mips-linux-muslsf-cross.tgz                        13-Mar-2020 03:01            88936808
mips-linux-muslsf-cross.tgz.sig                    13-Mar-2020 03:01                 566
mips-linux-muslsf-native.tgz                       13-Mar-2020 03:01            71056613
mips-linux-muslsf-native.tgz.sig                   13-Mar-2020 03:01                 566
mips64-linux-musl-cross.tgz                        13-Mar-2020 03:01            93545009
mips64-linux-musl-cross.tgz.sig                    13-Mar-2020 03:01                 566
mips64-linux-musl-native.tgz                       13-Mar-2020 03:01            70979346
mips64-linux-musl-native.tgz.sig                   13-Mar-2020 03:01                 566
mips64-linux-musln32-cross.tgz                     13-Mar-2020 03:01            90301032
mips64-linux-musln32-cross.tgz.sig                 13-Mar-2020 03:01                 566
mips64-linux-musln32-native.tgz                    13-Mar-2020 03:01            67592445
mips64-linux-musln32-native.tgz.sig                13-Mar-2020 03:01                 566
mips64-linux-musln32sf-cross.tgz                   13-Mar-2020 03:01            90505522
mips64-linux-musln32sf-cross.tgz.sig               13-Mar-2020 03:01                 566
mips64-linux-musln32sf-native.tgz                  13-Mar-2020 03:01            67726498
mips64-linux-musln32sf-native.tgz.sig              13-Mar-2020 03:01                 566
mips64el-linux-musl-cross.tgz                      13-Mar-2020 03:01            91451101
mips64el-linux-musl-cross.tgz.sig                  13-Mar-2020 03:01                 566
mips64el-linux-musl-native.tgz                     13-Mar-2020 03:01            70563635
mips64el-linux-musl-native.tgz.sig                 13-Mar-2020 03:02                 566
mips64el-linux-musln32-cross.tgz                   13-Mar-2020 03:02            88961950
mips64el-linux-musln32-cross.tgz.sig               13-Mar-2020 03:02                 566
mips64el-linux-musln32-native.tgz                  13-Mar-2020 03:02            67353120
mips64el-linux-musln32-native.tgz.sig              13-Mar-2020 03:02                 566
mips64el-linux-musln32sf-cross.tgz                 13-Mar-2020 03:02            89159449
mips64el-linux-musln32sf-cross.tgz.sig             13-Mar-2020 03:02                 566
mips64el-linux-musln32sf-native.tgz                13-Mar-2020 03:02            67477846
mips64el-linux-musln32sf-native.tgz.sig            13-Mar-2020 03:02                 566
mipsel-linux-musl-cross.tgz                        13-Mar-2020 03:02            86896024
mipsel-linux-musl-cross.tgz.sig                    13-Mar-2020 03:02                 566
mipsel-linux-musl-native.tgz                       13-Mar-2020 03:02            70016348
mipsel-linux-musl-native.tgz.sig                   13-Mar-2020 03:02                 566
mipsel-linux-musln32-cross.tgz                     13-Mar-2020 03:02            86905398
mipsel-linux-musln32-cross.tgz.sig                 13-Mar-2020 03:02                 566
mipsel-linux-musln32-native.tgz                    13-Mar-2020 03:02            70014198
mipsel-linux-musln32-native.tgz.sig                13-Mar-2020 03:02                 566
mipsel-linux-musln32sf-cross.tgz                   13-Mar-2020 03:02            87235246
mipsel-linux-musln32sf-cross.tgz.sig               13-Mar-2020 03:02                 566
mipsel-linux-musln32sf-native.tgz                  13-Mar-2020 03:02            70462479
mipsel-linux-musln32sf-native.tgz.sig              13-Mar-2020 03:02                 566
mipsel-linux-muslsf-cross.tgz                      13-Mar-2020 03:02            87227518
mipsel-linux-muslsf-cross.tgz.sig                  13-Mar-2020 03:02                 566
mipsel-linux-muslsf-native.tgz                     13-Mar-2020 03:02            70465396
mipsel-linux-muslsf-native.tgz.sig                 13-Mar-2020 03:02                 566
or1k-linux-musl-cross.tgz                          13-Mar-2020 03:02            79541142
or1k-linux-musl-cross.tgz.sig                      13-Mar-2020 03:02                 566
or1k-linux-musl-native.tgz                         13-Mar-2020 03:02            64543614
or1k-linux-musl-native.tgz.sig                     13-Mar-2020 03:02                 566
powerpc-linux-musl-cross.tgz                       13-Mar-2020 03:02            89712370
powerpc-linux-musl-cross.tgz.sig                   13-Mar-2020 03:02                 566
powerpc-linux-musl-native.tgz                      13-Mar-2020 03:02            70522545
powerpc-linux-musl-native.tgz.sig                  13-Mar-2020 03:02                 566
powerpc-linux-muslsf-cross.tgz                     13-Mar-2020 03:02            90007964
powerpc-linux-muslsf-cross.tgz.sig                 13-Mar-2020 03:02                 566
powerpc-linux-muslsf-native.tgz                    13-Mar-2020 03:02            70879523
powerpc-linux-muslsf-native.tgz.sig                13-Mar-2020 03:02                 566
powerpc64-linux-musl-cross.tgz                     13-Mar-2020 03:02            95499323
powerpc64-linux-musl-cross.tgz.sig                 13-Mar-2020 03:02                 566
powerpc64-linux-musl-native.tgz                    13-Mar-2020 03:02            72497346
powerpc64-linux-musl-native.tgz.sig                13-Mar-2020 03:02                 566
powerpc64le-linux-musl-cross.tgz                   13-Mar-2020 03:02            94174249
powerpc64le-linux-musl-cross.tgz.sig               13-Mar-2020 03:02                 566
powerpc64le-linux-musl-native.tgz                  13-Mar-2020 03:02            73324317
powerpc64le-linux-musl-native.tgz.sig              13-Mar-2020 03:02                 566
powerpcle-linux-musl-cross.tgz                     13-Mar-2020 03:02            88217680
powerpcle-linux-musl-cross.tgz.sig                 13-Mar-2020 03:02                 566
powerpcle-linux-musl-native.tgz                    13-Mar-2020 03:02            70930709
powerpcle-linux-musl-native.tgz.sig                13-Mar-2020 03:02                 566
powerpcle-linux-muslsf-cross.tgz                   13-Mar-2020 03:02            88520480
powerpcle-linux-muslsf-cross.tgz.sig               13-Mar-2020 03:02                 566
powerpcle-linux-muslsf-native.tgz                  13-Mar-2020 03:02            71269472
powerpcle-linux-muslsf-native.tgz.sig              13-Mar-2020 03:02                 566
riscv64-linux-musl-cross.tgz                       13-Mar-2020 03:02            95826206
riscv64-linux-musl-cross.tgz.sig                   13-Mar-2020 03:02                 566
riscv64-linux-musl-native.tgz                      13-Mar-2020 03:02            61538205
riscv64-linux-musl-native.tgz.sig                  13-Mar-2020 03:02                 566
s390x-linux-musl-cross.tgz                         13-Mar-2020 03:02            89357641
s390x-linux-musl-cross.tgz.sig                     13-Mar-2020 03:02                 566
s390x-linux-musl-native.tgz                        13-Mar-2020 03:02            61767399
s390x-linux-musl-native.tgz.sig                    13-Mar-2020 03:02                 566
sh2-linux-musl-cross.tgz                           13-Mar-2020 03:02            79941657
sh2-linux-musl-cross.tgz.sig                       13-Mar-2020 03:02                 566
sh2-linux-musl-native.tgz                          13-Mar-2020 03:02            62999034
sh2-linux-musl-native.tgz.sig                      13-Mar-2020 03:02                 566
sh2-linux-muslfdpic-cross.tgz                      13-Mar-2020 03:02            80272048
sh2-linux-muslfdpic-cross.tgz.sig                  13-Mar-2020 03:02                 566
sh2-linux-muslfdpic-native.tgz                     13-Mar-2020 03:02            69656197
sh2-linux-muslfdpic-native.tgz.sig                 13-Mar-2020 03:02                 566
sh2eb-linux-musl-cross.tgz                         13-Mar-2020 03:02            81148476
sh2eb-linux-musl-cross.tgz.sig                     13-Mar-2020 03:02                 566
sh2eb-linux-musl-native.tgz                        13-Mar-2020 03:02            63504794
sh2eb-linux-musl-native.tgz.sig                    13-Mar-2020 03:02                 566
sh2eb-linux-muslfdpic-cross.tgz                    13-Mar-2020 03:02            81475593
sh2eb-linux-muslfdpic-cross.tgz.sig                13-Mar-2020 03:02                 566
sh2eb-linux-muslfdpic-native.tgz                   13-Mar-2020 03:02            70647853
sh2eb-linux-muslfdpic-native.tgz.sig               13-Mar-2020 03:02                 566
sh4-linux-musl-cross.tgz                           13-Mar-2020 03:02            79975586
sh4-linux-musl-cross.tgz.sig                       13-Mar-2020 03:02                 566
sh4-linux-musl-native.tgz                          13-Mar-2020 03:02            62910363
sh4-linux-musl-native.tgz.sig                      13-Mar-2020 03:02                 566
sh4eb-linux-musl-cross.tgz                         13-Mar-2020 03:02            81203233
sh4eb-linux-musl-cross.tgz.sig                     13-Mar-2020 03:02                 566
sh4eb-linux-musl-native.tgz                        13-Mar-2020 03:02            63392444
sh4eb-linux-musl-native.tgz.sig                    13-Mar-2020 03:02                 566
x86_64-linux-musl-cross.tgz                        13-Mar-2020 03:02            99645121
x86_64-linux-musl-cross.tgz.sig                    13-Mar-2020 03:02                 566
x86_64-linux-musl-native.tgz                       13-Mar-2020 03:02            69726607
x86_64-linux-musl-native.tgz.sig                   13-Mar-2020 03:02                 566
x86_64-linux-muslx32-cross.tgz                     13-Mar-2020 03:02            97297585
x86_64-linux-muslx32-cross.tgz.sig                 13-Mar-2020 03:02                 566
x86_64-linux-muslx32-native.tgz                    13-Mar-2020 03:02            69672405
x86_64-linux-muslx32-native.tgz.sig                13-Mar-2020 03:02                 566
x86_64-w64-mingw32-cross.tgz                       13-Mar-2020 03:02           115934838
x86_64-w64-mingw32-cross.tgz.sig                   13-Mar-2020 03:02                 566
x86_64-w64-mingw32-native.zip                      13-Mar-2020 03:02           104724085
x86_64-w64-mingw32-native.zip.sig                  13-Mar-2020 03:02                 566

Bugs discovered:

This effort has led to the discovery of several compiler bugs:

Bugs in software found by using these toolchains not shown.

Known issues:

  1. Fortran support is missing from microblaze{,el} cross- and native- toolchains due to an aforementioned bug.
  2. Native SH-2 FDPIC toolchains need to be built with -freorder-blocks-algorithm=simple due to an aforementioned bug.
  3. OpenRISC target: GCC 8 patched forward from gcc-8_2_0-release to 45d0f2 from here (thanks smaeul). GCC 9 includes it.
  4. [meta] Alpine Linux breaks packages between upgrades. Nginx + Lua (for curl support) was broken for a while, sorry.

Other notes:

  1. Hashes and cryptographic signatures3 are provided -- use HTTPS for greater security.
  2. Versions may be bumped up or down without notice if bugs are discovered.
  3. You should pin and reproduce any version of these toolchains yourself -- old binaries might not be archived. Don't trust random third-party binaries :)
  4. Build logs are not provided as toolchains are easily reproduced.
  5. Looking for i686-hosted cross compilers to target Win32? You're in luck: i686/sig and x86_64/sig (built with this).
  6. Native i686- and x86_64- Win32 toolchains. Packaged as .zip for convenience: i686/sig and x86_64/sig (built with this).
  7. If you encounter issues or want to request additional architectures, let me know
You may also be interested in mkroot, a QEMU-based rootfs and kernel builder.

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]: 64-bit RISC-V support is merged into musl. 32-bit support is temporarily unsupported.
[5]: Clang/LLVM is on the TODO list. Contributions welcome. Look at ELLCC in the interim.


Changelog (highlights):