musl-gcc

A wrapper around gcc that automatically sets options for linking against musl libc. All options specified are passed directly to gcc. More information: <https://manned.org/musl-gcc>.

Install

All systems
curl cmd.cat/musl-gcc.sh
Debian Debian
apt-get install musl-tools
Ubuntu
apt-get install musl-tools
Alpine
apk add musl
Arch Arch Linux
pacman -S musl
image/svg+xml Kali Linux
apt-get install musl-tools
Windows (WSL2)
sudo apt-get update sudo apt-get install musl-tools
Raspbian
apt-get install musl-tools
Docker
docker run cmd.cat/musl-gcc musl-gcc powered by Commando

A wrapper around gcc that automatically sets options for linking against musl libc. All options specified are passed directly to gcc. More information: <https://manned.org/musl-gcc>.

  • View documentation for `gcc`:
    tldr gcc

© tl;dr; authors and contributors