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

musl |  binaries |  (more binaries) |  sources |  mingw |  risc-v |  docker images

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

We provide small and reliable pre-built GCC8 toolchains for many architectures.
Cross (x86_64-hosted) for ease of use. Native for completeness.
Static so that they run on supported platforms without dependencies.

We're even 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 containing the x86_64-hosted cross toolchains
are also provided and regularly updated. E.g.:

  $ docker pull muslcc/x86_64:aarch64-linux-musleabi
Compiler prefixes are removed in those images and they're rsync'd to root.
Toolchains include a usr/ --> . convenience symlink.

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 ]
[ MinGW32: source/config.mak7
[ Unstable: (RISC-V6=source/config.mak) ]
[ Landley's5: (6.4.0=source/config.mak) (7.3.0=source/config.mak) ]

Binaries:

Toolchains all support the following languages: C, C++, Fortran except where noted3.
They are cryptographically signed with the following key: 0xB1D0B4566FBBDB40

Looking for non-x86_64 cross-compilers? click here!

Popular (static) software/utilities/libraries built using these toolchains.

Index of /

Index of /


../
SHA512SUMS                                         08-Dec-2018 17:51               32532
SHA512SUMS.sig                                     08-Dec-2018 17:51                 566
aarch64-linux-musleabi-cross.tgz                   08-Dec-2018 06:30            71060412
aarch64-linux-musleabi-cross.tgz.sig               08-Dec-2018 17:50                 566
aarch64-linux-musleabi-native.tgz                  08-Dec-2018 06:30            51072396
aarch64-linux-musleabi-native.tgz.sig              08-Dec-2018 17:50                 566
aarch64_be-linux-musl-cross.tgz                    08-Dec-2018 06:30            72977441
aarch64_be-linux-musl-cross.tgz.sig                08-Dec-2018 17:50                 566
aarch64_be-linux-musl-native.tgz                   08-Dec-2018 06:30            51381411
aarch64_be-linux-musl-native.tgz.sig               08-Dec-2018 17:50                 566
arm-linux-musleabi-cross.tgz                       08-Dec-2018 06:30            70472261
arm-linux-musleabi-cross.tgz.sig                   08-Dec-2018 17:50                 566
arm-linux-musleabi-native.tgz                      08-Dec-2018 06:30            51332880
arm-linux-musleabi-native.tgz.sig                  08-Dec-2018 17:50                 566
arm-linux-musleabihf-cross.tgz                     08-Dec-2018 06:30            70348091
arm-linux-musleabihf-cross.tgz.sig                 08-Dec-2018 17:50                 566
arm-linux-musleabihf-native.tgz                    08-Dec-2018 06:30            51117484
arm-linux-musleabihf-native.tgz.sig                08-Dec-2018 17:50                 566
armeb-linux-musleabi-cross.tgz                     08-Dec-2018 06:30            72036006
armeb-linux-musleabi-cross.tgz.sig                 08-Dec-2018 17:50                 566
armeb-linux-musleabi-native.tgz                    08-Dec-2018 06:30            51420102
armeb-linux-musleabi-native.tgz.sig                08-Dec-2018 17:50                 566
armeb-linux-musleabihf-cross.tgz                   08-Dec-2018 06:30            71897923
armeb-linux-musleabihf-cross.tgz.sig               08-Dec-2018 17:50                 566
armeb-linux-musleabihf-native.tgz                  08-Dec-2018 06:30            51206232
armeb-linux-musleabihf-native.tgz.sig              08-Dec-2018 17:50                 566
armel-linux-musleabi-cross.tgz                     08-Dec-2018 06:30            70476828
armel-linux-musleabi-cross.tgz.sig                 08-Dec-2018 17:50                 566
armel-linux-musleabi-native.tgz                    08-Dec-2018 06:30            51324941
armel-linux-musleabi-native.tgz.sig                08-Dec-2018 17:50                 566
armel-linux-musleabihf-cross.tgz                   08-Dec-2018 06:30            70333532
armel-linux-musleabihf-cross.tgz.sig               08-Dec-2018 17:50                 566
armel-linux-musleabihf-native.tgz                  08-Dec-2018 06:30            51121360
armel-linux-musleabihf-native.tgz.sig              08-Dec-2018 17:50                 566
armv5l-linux-musleabihf-cross.tgz                  08-Dec-2018 06:30            70336606
armv5l-linux-musleabihf-cross.tgz.sig              08-Dec-2018 17:50                 566
armv5l-linux-musleabihf-native.tgz                 08-Dec-2018 06:30            51117723
armv5l-linux-musleabihf-native.tgz.sig             08-Dec-2018 17:50                 566
armv7l-linux-musleabihf-cross.tgz                  08-Dec-2018 06:30            70336234
armv7l-linux-musleabihf-cross.tgz.sig              08-Dec-2018 17:50                 566
armv7l-linux-musleabihf-native.tgz                 08-Dec-2018 06:30            51117013
armv7l-linux-musleabihf-native.tgz.sig             08-Dec-2018 17:50                 566
armv7m-linux-musleabi-cross.tgz                    08-Dec-2018 06:30            70476507
armv7m-linux-musleabi-cross.tgz.sig                08-Dec-2018 17:50                 566
armv7m-linux-musleabi-native.tgz                   08-Dec-2018 06:30            51331285
armv7m-linux-musleabi-native.tgz.sig               08-Dec-2018 17:50                 566
armv7r-linux-musleabihf-cross.tgz                  08-Dec-2018 06:30            70346133
armv7r-linux-musleabihf-cross.tgz.sig              08-Dec-2018 17:50                 566
armv7r-linux-musleabihf-native.tgz                 08-Dec-2018 06:30            51154882
armv7r-linux-musleabihf-native.tgz.sig             08-Dec-2018 17:50                 566
i486-linux-musl-cross.tgz                          08-Dec-2018 06:30            74249786
i486-linux-musl-cross.tgz.sig                      08-Dec-2018 17:50                 566
i486-linux-musl-native.tgz                         08-Dec-2018 06:30            57191645
i486-linux-musl-native.tgz.sig                     08-Dec-2018 17:50                 566
i686-linux-musl-cross.tgz                          08-Dec-2018 06:30            74547932
i686-linux-musl-cross.tgz.sig                      08-Dec-2018 17:50                 566
i686-linux-musl-native.tgz                         08-Dec-2018 06:30            57319142
i686-linux-musl-native.tgz.sig                     08-Dec-2018 17:50                 566
i686-w64-mingw32-cross.tgz                         08-Dec-2018 06:08            80266413
i686-w64-mingw32-cross.tgz.sig                     08-Dec-2018 17:50                 566
i686-w64-mingw32-native.tgz                        08-Dec-2018 06:08            62166324
i686-w64-mingw32-native.tgz.sig                    08-Dec-2018 17:50                 566
m68k-linux-musl-cross.tgz                          08-Dec-2018 06:30            61374874
m68k-linux-musl-cross.tgz.sig                      08-Dec-2018 17:50                 566
m68k-linux-musl-native.tgz                         08-Dec-2018 06:30            42616095
m68k-linux-musl-native.tgz.sig                     08-Dec-2018 17:50                 566
microblaze-linux-musl-cross.tgz                    08-Dec-2018 06:30            52138044
microblaze-linux-musl-cross.tgz.sig                08-Dec-2018 17:50                 566
microblaze-linux-musl-native.tgz                   08-Dec-2018 06:30            40936672
microblaze-linux-musl-native.tgz.sig               08-Dec-2018 17:50                 566
microblazeel-linux-musl-cross.tgz                  08-Dec-2018 06:30            51318465
microblazeel-linux-musl-cross.tgz.sig              08-Dec-2018 17:50                 566
microblazeel-linux-musl-native.tgz                 08-Dec-2018 06:30            40860131
microblazeel-linux-musl-native.tgz.sig             08-Dec-2018 17:50                 566
mips-linux-musl-cross.tgz                          08-Dec-2018 06:30            69822053
mips-linux-musl-cross.tgz.sig                      08-Dec-2018 17:50                 566
mips-linux-musl-native.tgz                         08-Dec-2018 06:30            57846633
mips-linux-musl-native.tgz.sig                     08-Dec-2018 17:50                 566
mips-linux-musln32sf-cross.tgz                     08-Dec-2018 06:30            70123437
mips-linux-musln32sf-cross.tgz.sig                 08-Dec-2018 17:50                 566
mips-linux-musln32sf-native.tgz                    08-Dec-2018 06:30            58312903
mips-linux-musln32sf-native.tgz.sig                08-Dec-2018 17:50                 566
mips-linux-muslsf-cross.tgz                        08-Dec-2018 06:30            70113197
mips-linux-muslsf-cross.tgz.sig                    08-Dec-2018 17:50                 566
mips-linux-muslsf-native.tgz                       08-Dec-2018 06:30            58310171
mips-linux-muslsf-native.tgz.sig                   08-Dec-2018 17:50                 566
mips64-linux-musl-cross.tgz                        08-Dec-2018 06:30            74623277
mips64-linux-musl-cross.tgz.sig                    08-Dec-2018 17:50                 566
mips64-linux-musl-native.tgz                       08-Dec-2018 06:30            58496738
mips64-linux-musl-native.tgz.sig                   08-Dec-2018 17:50                 566
mips64-linux-musln32-cross.tgz                     08-Dec-2018 06:30            71626573
mips64-linux-musln32-cross.tgz.sig                 08-Dec-2018 17:50                 566
mips64-linux-musln32-native.tgz                    08-Dec-2018 06:30            55136260
mips64-linux-musln32-native.tgz.sig                08-Dec-2018 17:50                 566
mips64-linux-musln32sf-cross.tgz                   08-Dec-2018 06:30            71791612
mips64-linux-musln32sf-cross.tgz.sig               08-Dec-2018 17:50                 566
mips64-linux-musln32sf-native.tgz                  08-Dec-2018 06:30            55226076
mips64-linux-musln32sf-native.tgz.sig              08-Dec-2018 17:50                 566
mips64el-linux-musl-cross.tgz                      08-Dec-2018 06:30            72661065
mips64el-linux-musl-cross.tgz.sig                  08-Dec-2018 17:50                 566
mips64el-linux-musl-native.tgz                     08-Dec-2018 06:30            58235566
mips64el-linux-musl-native.tgz.sig                 08-Dec-2018 17:50                 566
mips64el-linux-musln32-cross.tgz                   08-Dec-2018 06:30            70392108
mips64el-linux-musln32-cross.tgz.sig               08-Dec-2018 17:50                 566
mips64el-linux-musln32-native.tgz                  08-Dec-2018 06:30            54968370
mips64el-linux-musln32-native.tgz.sig              08-Dec-2018 17:50                 566
mips64el-linux-musln32sf-cross.tgz                 08-Dec-2018 06:30            70565149
mips64el-linux-musln32sf-cross.tgz.sig             08-Dec-2018 17:50                 566
mips64el-linux-musln32sf-native.tgz                08-Dec-2018 06:30            55068728
mips64el-linux-musln32sf-native.tgz.sig            08-Dec-2018 17:50                 566
mipsel-linux-musl-cross.tgz                        08-Dec-2018 06:30            68298217
mipsel-linux-musl-cross.tgz.sig                    08-Dec-2018 17:50                 566
mipsel-linux-musl-native.tgz                       08-Dec-2018 06:30            57382927
mipsel-linux-musl-native.tgz.sig                   08-Dec-2018 17:50                 566
mipsel-linux-musln32-cross.tgz                     08-Dec-2018 06:30            68297517
mipsel-linux-musln32-cross.tgz.sig                 08-Dec-2018 17:50                 566
mipsel-linux-musln32-native.tgz                    08-Dec-2018 06:30            57381052
mipsel-linux-musln32-native.tgz.sig                08-Dec-2018 17:50                 566
mipsel-linux-musln32sf-cross.tgz                   08-Dec-2018 06:30            68572364
mipsel-linux-musln32sf-cross.tgz.sig               08-Dec-2018 17:50                 566
mipsel-linux-musln32sf-native.tgz                  08-Dec-2018 06:30            57836635
mipsel-linux-musln32sf-native.tgz.sig              08-Dec-2018 17:50                 566
mipsel-linux-muslsf-cross.tgz                      08-Dec-2018 06:30            68583024
mipsel-linux-muslsf-cross.tgz.sig                  08-Dec-2018 17:50                 566
mipsel-linux-muslsf-native.tgz                     08-Dec-2018 06:30            57834699
mipsel-linux-muslsf-native.tgz.sig                 08-Dec-2018 17:50                 566
or1k-linux-musl-cross.tgz                          08-Dec-2018 06:30            61469262
or1k-linux-musl-cross.tgz.sig                      08-Dec-2018 17:50                 566
or1k-linux-musl-native.tgz                         08-Dec-2018 06:31            49084817
or1k-linux-musl-native.tgz.sig                     08-Dec-2018 17:50                 566
powerpc-linux-musl-cross.tgz                       08-Dec-2018 06:31            72663810
powerpc-linux-musl-cross.tgz.sig                   08-Dec-2018 17:50                 566
powerpc-linux-musl-native.tgz                      08-Dec-2018 06:31            58272920
powerpc-linux-musl-native.tgz.sig                  08-Dec-2018 17:50                 566
powerpc-linux-muslsf-cross.tgz                     08-Dec-2018 06:31            72944139
powerpc-linux-muslsf-cross.tgz.sig                 08-Dec-2018 17:50                 566
powerpc-linux-muslsf-native.tgz                    08-Dec-2018 06:31            58627295
powerpc-linux-muslsf-native.tgz.sig                08-Dec-2018 17:50                 566
powerpc64-linux-musl-cross.tgz                     08-Dec-2018 06:31            76542704
powerpc64-linux-musl-cross.tgz.sig                 08-Dec-2018 17:50                 566
powerpc64-linux-musl-native.tgz                    08-Dec-2018 06:31            60334690
powerpc64-linux-musl-native.tgz.sig                08-Dec-2018 17:50                 566
powerpc64le-linux-musl-cross.tgz                   08-Dec-2018 06:31            74403992
powerpc64le-linux-musl-cross.tgz.sig               08-Dec-2018 17:50                 566
powerpc64le-linux-musl-native.tgz                  08-Dec-2018 06:31            61187916
powerpc64le-linux-musl-native.tgz.sig              08-Dec-2018 17:50                 566
powerpcle-linux-musl-cross.tgz                     08-Dec-2018 06:31            71347135
powerpcle-linux-musl-cross.tgz.sig                 08-Dec-2018 17:50                 566
powerpcle-linux-musl-native.tgz                    08-Dec-2018 06:31            58709752
powerpcle-linux-musl-native.tgz.sig                08-Dec-2018 17:50                 566
powerpcle-linux-muslsf-cross.tgz                   08-Dec-2018 06:31            71619852
powerpcle-linux-muslsf-cross.tgz.sig               08-Dec-2018 17:51                 566
powerpcle-linux-muslsf-native.tgz                  08-Dec-2018 06:31            59042909
powerpcle-linux-muslsf-native.tgz.sig              08-Dec-2018 17:51                 566
riscv32-linux-musl-cross.tgz                       08-Dec-2018 06:31            71425950
riscv32-linux-musl-cross.tgz.sig                   08-Dec-2018 17:51                 566
riscv32-linux-musl-native.tgz                      08-Dec-2018 06:31            47916799
riscv32-linux-musl-native.tgz.sig                  08-Dec-2018 17:51                 566
riscv64-linux-musl-cross.tgz                       08-Dec-2018 06:31            74513986
riscv64-linux-musl-cross.tgz.sig                   08-Dec-2018 17:51                 566
riscv64-linux-musl-native.tgz                      08-Dec-2018 06:31            47201983
riscv64-linux-musl-native.tgz.sig                  08-Dec-2018 17:51                 566
s390x-linux-musl-cross.tgz                         08-Dec-2018 06:31            70577990
s390x-linux-musl-cross.tgz.sig                     08-Dec-2018 17:51                 566
s390x-linux-musl-native.tgz                        08-Dec-2018 06:31            49181913
s390x-linux-musl-native.tgz.sig                    08-Dec-2018 17:51                 566
sh2-linux-musl-cross.tgz                           08-Dec-2018 06:31            62575366
sh2-linux-musl-cross.tgz.sig                       08-Dec-2018 17:51                 566
sh2-linux-musl-native.tgz                          08-Dec-2018 06:31            50321681
sh2-linux-musl-native.tgz.sig                      08-Dec-2018 17:51                 566
sh2-linux-muslfdpic-cross.tgz                      08-Dec-2018 06:31            62839135
sh2-linux-muslfdpic-cross.tgz.sig                  08-Dec-2018 17:51                 566
sh2-linux-muslfdpic-native.tgz                     08-Dec-2018 06:32            48608786
sh2-linux-muslfdpic-native.tgz.sig                 08-Dec-2018 17:51                 566
sh2eb-linux-musl-cross.tgz                         08-Dec-2018 06:31            63637773
sh2eb-linux-musl-cross.tgz.sig                     08-Dec-2018 17:51                 566
sh2eb-linux-musl-native.tgz                        08-Dec-2018 06:31            50789924
sh2eb-linux-musl-native.tgz.sig                    08-Dec-2018 17:51                 566
sh2eb-linux-muslfdpic-cross.tgz                    08-Dec-2018 06:31            63902843
sh2eb-linux-muslfdpic-cross.tgz.sig                08-Dec-2018 17:51                 566
sh2eb-linux-muslfdpic-native.tgz                   08-Dec-2018 06:32            49576680
sh2eb-linux-muslfdpic-native.tgz.sig               08-Dec-2018 17:51                 566
sh4-linux-musl-cross.tgz                           08-Dec-2018 06:31            62606583
sh4-linux-musl-cross.tgz.sig                       08-Dec-2018 17:51                 566
sh4-linux-musl-native.tgz                          08-Dec-2018 06:31            50265480
sh4-linux-musl-native.tgz.sig                      08-Dec-2018 17:51                 566
sh4eb-linux-musl-cross.tgz                         08-Dec-2018 06:31            63699174
sh4eb-linux-musl-cross.tgz.sig                     08-Dec-2018 17:51                 566
sh4eb-linux-musl-native.tgz                        08-Dec-2018 06:31            50701494
sh4eb-linux-musl-native.tgz.sig                    08-Dec-2018 17:51                 566
x86_64-linux-musl-cross.tgz                        08-Dec-2018 06:31            79673264
x86_64-linux-musl-cross.tgz.sig                    08-Dec-2018 17:51                 566
x86_64-linux-musl-native.tgz                       08-Dec-2018 06:31            56614874
x86_64-linux-musl-native.tgz.sig                   08-Dec-2018 17:51                 566
x86_64-linux-muslx32-cross.tgz                     08-Dec-2018 06:31            76767616
x86_64-linux-muslx32-cross.tgz.sig                 08-Dec-2018 17:51                 566
x86_64-linux-muslx32-native.tgz                    08-Dec-2018 06:31            56699118
x86_64-linux-muslx32-native.tgz.sig                08-Dec-2018 17:51                 566
x86_64-w64-mingw32-cross.tgz                       08-Dec-2018 06:08            91321609
x86_64-w64-mingw32-cross.tgz.sig                   08-Dec-2018 17:51                 566
x86_64-w64-mingw32-native.tgz                      08-Dec-2018 06:08            74300646
x86_64-w64-mingw32-native.tgz.sig                  08-Dec-2018 17:51                 566

Other notes:

  1. Hashes and cryptographic signatures4 are provided -- use HTTPS for greater security
  2. Toolchains are stripped of debug symbols (reduces size by a factor of 5)
  3. Versions may be bumped without notice (up or down, if bugs are discovered), or patches applied
  4. Build logs are not provided as they're mangled due to SMP build
  5. You may pin and reproduce any version of these toolchains yourself -- old ones are not archived
  6. Looking for x86_64-hosted cross compilers to target Win32? You're in luck: 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.

The curl-friendly version of this site is powered by Nginx + Lua:

    location ~ ^/$ {
        # for the curlers
        if ($http_user_agent ~* (curl)) {
            content_by_lua_block {
                ...
            }
        }
        # everyone else
        ...
    }
Again, no guarantees as to the continued availability of specific toolchains.

References:

[1]: Toolchains are built using Adélie Linux. Totally check them out.
[2]: Based on the Alpine Linux image for size. Packaged with MacroMμ.
[3]: The only architecture currently missing Fortran is microblaze{,el} due to this bug.
[4]: Validate them against this public key.
[5]: Rob Landley has i686-hosted toolchains here.
[6]: RISC-V support is untested and experimental. Stock GCC and dependencies (only change is musl).
[7]: To use native MinGW32 toolchains, append ;E:\x86_64-w64-mingw32-native\x86_64-w64-mingw32-native\bin (or similar) to %PATH%, remove all symlinks (/bin/*-cc, /usr) then copy ./include to ./TRIPLE/include
[8]: Clang/LLVM is on the TODO list. Contributions welcome.
[9]: Binutils tag 2.31.1 plus cumulative patches from binutils-2_31-branch as of 2018-10-21, due to this bug.
[10]: GCC OpenRISC patched forward from gcc-8_2_0-release to 45d0f2 from here (thanks smaeul).