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, 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 default4. 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: ( 6, 7, 8, 9 ).
For non-i686 toolchains, click here. Something else? Contact me.

Index of /

Index of /


../
SHA512SUMS                                         21-Dec-2019 04:54               36424
aarch64-linux-musl-cross.tgz                       21-Dec-2019 04:51            87074417
aarch64-linux-musl-cross.tgz.sig                   21-Dec-2019 04:52                 566
aarch64-linux-musl-native.tgz                      21-Dec-2019 04:52            59884183
aarch64-linux-musl-native.tgz.sig                  21-Dec-2019 04:52                 566
aarch64_be-linux-musl-cross.tgz                    21-Dec-2019 04:52            89150723
aarch64_be-linux-musl-cross.tgz.sig                21-Dec-2019 04:52                 566
aarch64_be-linux-musl-native.tgz                   21-Dec-2019 04:52            60262002
aarch64_be-linux-musl-native.tgz.sig               21-Dec-2019 04:52                 566
arm-linux-musleabi-cross.tgz                       21-Dec-2019 04:52            84332706
arm-linux-musleabi-cross.tgz.sig                   21-Dec-2019 04:52                 566
arm-linux-musleabi-native.tgz                      21-Dec-2019 04:52            59912156
arm-linux-musleabi-native.tgz.sig                  21-Dec-2019 04:52                 566
arm-linux-musleabihf-cross.tgz                     21-Dec-2019 04:52            84182815
arm-linux-musleabihf-cross.tgz.sig                 21-Dec-2019 04:52                 566
arm-linux-musleabihf-native.tgz                    21-Dec-2019 04:52            59711784
arm-linux-musleabihf-native.tgz.sig                21-Dec-2019 04:52                 566
armeb-linux-musleabi-cross.tgz                     21-Dec-2019 04:52            86020545
armeb-linux-musleabi-cross.tgz.sig                 21-Dec-2019 04:52                 566
armeb-linux-musleabi-native.tgz                    21-Dec-2019 04:52            60054500
armeb-linux-musleabi-native.tgz.sig                21-Dec-2019 04:52                 566
armeb-linux-musleabihf-cross.tgz                   21-Dec-2019 04:52            85870292
armeb-linux-musleabihf-cross.tgz.sig               21-Dec-2019 04:52                 566
armeb-linux-musleabihf-native.tgz                  21-Dec-2019 04:52            59816037
armeb-linux-musleabihf-native.tgz.sig              21-Dec-2019 04:52                 566
armel-linux-musleabi-cross.tgz                     21-Dec-2019 04:52            84354775
armel-linux-musleabi-cross.tgz.sig                 21-Dec-2019 04:52                 566
armel-linux-musleabi-native.tgz                    21-Dec-2019 04:52            59910886
armel-linux-musleabi-native.tgz.sig                21-Dec-2019 04:52                 566
armel-linux-musleabihf-cross.tgz                   21-Dec-2019 04:52            84198419
armel-linux-musleabihf-cross.tgz.sig               21-Dec-2019 04:52                 566
armel-linux-musleabihf-native.tgz                  21-Dec-2019 04:52            59714752
armel-linux-musleabihf-native.tgz.sig              21-Dec-2019 04:52                 566
armv5l-linux-musleabihf-cross.tgz                  21-Dec-2019 04:52            84190327
armv5l-linux-musleabihf-cross.tgz.sig              21-Dec-2019 04:52                 566
armv5l-linux-musleabihf-native.tgz                 21-Dec-2019 04:52            59718393
armv5l-linux-musleabihf-native.tgz.sig             21-Dec-2019 04:52                 566
armv7l-linux-musleabihf-cross.tgz                  21-Dec-2019 04:52            84198615
armv7l-linux-musleabihf-cross.tgz.sig              21-Dec-2019 04:52                 566
armv7l-linux-musleabihf-native.tgz                 21-Dec-2019 04:52            59723755
armv7l-linux-musleabihf-native.tgz.sig             21-Dec-2019 04:52                 566
armv7m-linux-musleabi-cross.tgz                    21-Dec-2019 04:52            84334775
armv7m-linux-musleabi-cross.tgz.sig                21-Dec-2019 04:52                 566
armv7m-linux-musleabi-native.tgz                   21-Dec-2019 04:52            59917158
armv7m-linux-musleabi-native.tgz.sig               21-Dec-2019 04:52                 566
armv7r-linux-musleabihf-cross.tgz                  21-Dec-2019 04:52            84198673
armv7r-linux-musleabihf-cross.tgz.sig              21-Dec-2019 04:52                 566
armv7r-linux-musleabihf-native.tgz                 21-Dec-2019 04:52            59712528
armv7r-linux-musleabihf-native.tgz.sig             21-Dec-2019 04:52                 566
i486-linux-musl-cross.tgz                          21-Dec-2019 04:52            89436767
i486-linux-musl-cross.tgz.sig                      21-Dec-2019 04:52                 566
i486-linux-musl-native.tgz                         21-Dec-2019 04:52            66581465
i486-linux-musl-native.tgz.sig                     21-Dec-2019 04:52                 566
i686-linux-musl-cross.tgz                          21-Dec-2019 04:52            89968994
i686-linux-musl-cross.tgz.sig                      21-Dec-2019 04:52                 566
i686-linux-musl-native.tgz                         21-Dec-2019 04:52            66879354
i686-linux-musl-native.tgz.sig                     21-Dec-2019 04:52                 566
i686-w64-mingw32-cross.tgz                         21-Dec-2019 04:52            99232190
i686-w64-mingw32-cross.tgz.sig                     21-Dec-2019 04:52                 566
i686-w64-mingw32-native.zip                        21-Dec-2019 04:52            88853025
i686-w64-mingw32-native.zip.sig                    21-Dec-2019 04:52                 566
m68k-linux-musl-cross.tgz                          21-Dec-2019 04:52            75084918
m68k-linux-musl-cross.tgz.sig                      21-Dec-2019 04:52                 566
m68k-linux-musl-native.tgz                         21-Dec-2019 04:52            51064488
m68k-linux-musl-native.tgz.sig                     21-Dec-2019 04:52                 566
microblaze-linux-musl-cross.tgz                    21-Dec-2019 04:52            64562286
microblaze-linux-musl-cross.tgz.sig                21-Dec-2019 04:52                 566
microblaze-linux-musl-native.tgz                   21-Dec-2019 04:52            49073781
microblaze-linux-musl-native.tgz.sig               21-Dec-2019 04:52                 566
microblazeel-linux-musl-cross.tgz                  21-Dec-2019 04:52            63670452
microblazeel-linux-musl-cross.tgz.sig              21-Dec-2019 04:52                 566
microblazeel-linux-musl-native.tgz                 21-Dec-2019 04:52            48992006
microblazeel-linux-musl-native.tgz.sig             21-Dec-2019 04:52                 566
mips-linux-musl-cross.tgz                          21-Dec-2019 04:52            84800342
mips-linux-musl-cross.tgz.sig                      21-Dec-2019 04:52                 566
mips-linux-musl-native.tgz                         21-Dec-2019 04:52            66749274
mips-linux-musl-native.tgz.sig                     21-Dec-2019 04:52                 566
mips-linux-musln32sf-cross.tgz                     21-Dec-2019 04:52            85149841
mips-linux-musln32sf-cross.tgz.sig                 21-Dec-2019 04:52                 566
mips-linux-musln32sf-native.tgz                    21-Dec-2019 04:52            67220391
mips-linux-musln32sf-native.tgz.sig                21-Dec-2019 04:52                 566
mips-linux-muslsf-cross.tgz                        21-Dec-2019 04:52            85125118
mips-linux-muslsf-cross.tgz.sig                    21-Dec-2019 04:52                 566
mips-linux-muslsf-native.tgz                       21-Dec-2019 04:52            67222874
mips-linux-muslsf-native.tgz.sig                   21-Dec-2019 04:52                 566
mips64-linux-musl-cross.tgz                        21-Dec-2019 04:52            89750119
mips64-linux-musl-cross.tgz.sig                    21-Dec-2019 04:52                 566
mips64-linux-musl-native.tgz                       21-Dec-2019 04:52            67172344
mips64-linux-musl-native.tgz.sig                   21-Dec-2019 04:52                 566
mips64-linux-musln32-cross.tgz                     21-Dec-2019 04:52            86542530
mips64-linux-musln32-cross.tgz.sig                 21-Dec-2019 04:52                 566
mips64-linux-musln32-native.tgz                    21-Dec-2019 04:52            63802487
mips64-linux-musln32-native.tgz.sig                21-Dec-2019 04:52                 566
mips64-linux-musln32sf-cross.tgz                   21-Dec-2019 04:52            86726840
mips64-linux-musln32sf-cross.tgz.sig               21-Dec-2019 04:52                 566
mips64-linux-musln32sf-native.tgz                  21-Dec-2019 04:52            63936587
mips64-linux-musln32sf-native.tgz.sig              21-Dec-2019 04:52                 566
mips64el-linux-musl-cross.tgz                      21-Dec-2019 04:52            87643666
mips64el-linux-musl-cross.tgz.sig                  21-Dec-2019 04:52                 566
mips64el-linux-musl-native.tgz                     21-Dec-2019 04:52            66770138
mips64el-linux-musl-native.tgz.sig                 21-Dec-2019 04:52                 566
mips64el-linux-musln32-cross.tgz                   21-Dec-2019 04:52            85168202
mips64el-linux-musln32-cross.tgz.sig               21-Dec-2019 04:52                 566
mips64el-linux-musln32-native.tgz                  21-Dec-2019 04:52            63559740
mips64el-linux-musln32-native.tgz.sig              21-Dec-2019 04:52                 566
mips64el-linux-musln32sf-cross.tgz                 21-Dec-2019 04:52            85389795
mips64el-linux-musln32sf-cross.tgz.sig             21-Dec-2019 04:52                 566
mips64el-linux-musln32sf-native.tgz                21-Dec-2019 04:52            63670811
mips64el-linux-musln32sf-native.tgz.sig            21-Dec-2019 04:52                 566
mipsel-linux-musl-cross.tgz                        21-Dec-2019 04:52            83121725
mipsel-linux-musl-cross.tgz.sig                    21-Dec-2019 04:52                 566
mipsel-linux-musl-native.tgz                       21-Dec-2019 04:52            66171718
mipsel-linux-musl-native.tgz.sig                   21-Dec-2019 04:52                 566
mipsel-linux-musln32-cross.tgz                     21-Dec-2019 04:52            83121265
mipsel-linux-musln32-cross.tgz.sig                 21-Dec-2019 04:52                 566
mipsel-linux-musln32-native.tgz                    21-Dec-2019 04:52            66195445
mipsel-linux-musln32-native.tgz.sig                21-Dec-2019 04:52                 566
mipsel-linux-musln32sf-cross.tgz                   21-Dec-2019 04:52            83426065
mipsel-linux-musln32sf-cross.tgz.sig               21-Dec-2019 04:52                 566
mipsel-linux-musln32sf-native.tgz                  21-Dec-2019 04:52            66643534
mipsel-linux-musln32sf-native.tgz.sig              21-Dec-2019 04:52                 566
mipsel-linux-muslsf-cross.tgz                      21-Dec-2019 04:52            83428201
mipsel-linux-muslsf-cross.tgz.sig                  21-Dec-2019 04:52                 566
mipsel-linux-muslsf-native.tgz                     21-Dec-2019 04:52            66643144
mipsel-linux-muslsf-native.tgz.sig                 21-Dec-2019 04:52                 566
or1k-linux-musl-cross.tgz                          21-Dec-2019 04:52            73046290
or1k-linux-musl-cross.tgz.sig                      21-Dec-2019 04:52                 566
or1k-linux-musl-native.tgz                         21-Dec-2019 04:52            60806572
or1k-linux-musl-native.tgz.sig                     21-Dec-2019 04:52                 566
powerpc-linux-musl-cross.tgz                       21-Dec-2019 04:52            85903170
powerpc-linux-musl-cross.tgz.sig                   21-Dec-2019 04:52                 566
powerpc-linux-musl-native.tgz                      21-Dec-2019 04:52            66679967
powerpc-linux-musl-native.tgz.sig                  21-Dec-2019 04:52                 566
powerpc-linux-muslsf-cross.tgz                     21-Dec-2019 04:52            86225822
powerpc-linux-muslsf-cross.tgz.sig                 21-Dec-2019 04:52                 566
powerpc-linux-muslsf-native.tgz                    21-Dec-2019 04:52            67039378
powerpc-linux-muslsf-native.tgz.sig                21-Dec-2019 04:52                 566
powerpc64-linux-musl-cross.tgz                     21-Dec-2019 04:52            91696057
powerpc64-linux-musl-cross.tgz.sig                 21-Dec-2019 04:52                 566
powerpc64-linux-musl-native.tgz                    21-Dec-2019 04:52            68678854
powerpc64-linux-musl-native.tgz.sig                21-Dec-2019 04:52                 566
powerpc64le-linux-musl-cross.tgz                   21-Dec-2019 04:52            90385755
powerpc64le-linux-musl-cross.tgz.sig               21-Dec-2019 04:52                 566
powerpc64le-linux-musl-native.tgz                  21-Dec-2019 04:52            69483859
powerpc64le-linux-musl-native.tgz.sig              21-Dec-2019 04:52                 566
powerpcle-linux-musl-cross.tgz                     21-Dec-2019 04:52            84426741
powerpcle-linux-musl-cross.tgz.sig                 21-Dec-2019 04:53                 566
powerpcle-linux-musl-native.tgz                    21-Dec-2019 04:53            67093500
powerpcle-linux-musl-native.tgz.sig                21-Dec-2019 04:53                 566
powerpcle-linux-muslsf-cross.tgz                   21-Dec-2019 04:53            84745616
powerpcle-linux-muslsf-cross.tgz.sig               21-Dec-2019 04:53                 566
powerpcle-linux-muslsf-native.tgz                  21-Dec-2019 04:53            67430923
powerpcle-linux-muslsf-native.tgz.sig              21-Dec-2019 04:53                 566
riscv64-linux-musl-cross.tgz                       21-Dec-2019 04:53            92039334
riscv64-linux-musl-cross.tgz.sig                   21-Dec-2019 04:53                 566
riscv64-linux-musl-native.tgz                      21-Dec-2019 04:53            57771086
riscv64-linux-musl-native.tgz.sig                  21-Dec-2019 04:53                 566
s390x-linux-musl-cross.tgz                         21-Dec-2019 04:53            85558932
s390x-linux-musl-cross.tgz.sig                     21-Dec-2019 04:53                 566
s390x-linux-musl-native.tgz                        21-Dec-2019 04:53            57961330
s390x-linux-musl-native.tgz.sig                    21-Dec-2019 04:53                 566
sh2-linux-musl-cross.tgz                           21-Dec-2019 04:53            76135667
sh2-linux-musl-cross.tgz.sig                       21-Dec-2019 04:53                 566
sh2-linux-musl-native.tgz                          21-Dec-2019 04:53            59193560
sh2-linux-musl-native.tgz.sig                      21-Dec-2019 04:53                 566
sh2-linux-muslfdpic-cross.tgz                      21-Dec-2019 04:53            76472659
sh2-linux-muslfdpic-cross.tgz.sig                  21-Dec-2019 04:53                 566
sh2-linux-muslfdpic-native.tgz                     21-Dec-2019 04:53            65844756
sh2-linux-muslfdpic-native.tgz.sig                 21-Dec-2019 04:53                 566
sh2eb-linux-musl-cross.tgz                         21-Dec-2019 04:53            77341107
sh2eb-linux-musl-cross.tgz.sig                     21-Dec-2019 04:53                 566
sh2eb-linux-musl-native.tgz                        21-Dec-2019 04:53            59692428
sh2eb-linux-musl-native.tgz.sig                    21-Dec-2019 04:53                 566
sh2eb-linux-muslfdpic-cross.tgz                    21-Dec-2019 04:53            77677819
sh2eb-linux-muslfdpic-cross.tgz.sig                21-Dec-2019 04:53                 566
sh2eb-linux-muslfdpic-native.tgz                   21-Dec-2019 04:53            66834743
sh2eb-linux-muslfdpic-native.tgz.sig               21-Dec-2019 04:53                 566
sh4-linux-musl-cross.tgz                           21-Dec-2019 04:53            76179006
sh4-linux-musl-cross.tgz.sig                       21-Dec-2019 04:53                 566
sh4-linux-musl-native.tgz                          21-Dec-2019 04:53            59111719
sh4-linux-musl-native.tgz.sig                      21-Dec-2019 04:53                 566
sh4eb-linux-musl-cross.tgz                         21-Dec-2019 04:53            77405522
sh4eb-linux-musl-cross.tgz.sig                     21-Dec-2019 04:53                 566
sh4eb-linux-musl-native.tgz                        21-Dec-2019 04:53            59592530
sh4eb-linux-musl-native.tgz.sig                    21-Dec-2019 04:53                 566
x86_64-linux-musl-cross.tgz                        21-Dec-2019 04:53           101825696
x86_64-linux-musl-cross.tgz.sig                    21-Dec-2019 04:53                 566
x86_64-linux-musl-native.tgz                       21-Dec-2019 04:53            66074475
x86_64-linux-musl-native.tgz.sig                   21-Dec-2019 04:53                 566
x86_64-linux-muslx32-cross.tgz                     21-Dec-2019 04:53            93501887
x86_64-linux-muslx32-cross.tgz.sig                 21-Dec-2019 04:53                 566
x86_64-linux-muslx32-native.tgz                    21-Dec-2019 04:53            65872334
x86_64-linux-muslx32-native.tgz.sig                21-Dec-2019 04:53                 566
x86_64-w64-mingw32-cross.tgz                       21-Dec-2019 04:53           111774048
x86_64-w64-mingw32-cross.tgz.sig                   21-Dec-2019 04:53                 566
x86_64-w64-mingw32-native.zip                      21-Dec-2019 04:53           103230295
x86_64-w64-mingw32-native.zip.sig                  21-Dec-2019 04:53                 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.
[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):