c99

Compiles C programs according to the ISO C standard. More information: <https://manned.org/c99>.

Install

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

Compiles C programs according to the ISO C standard. More information: <https://manned.org/c99>.

  • Compile source file(s) and create an executable:
    c99 file.c
  • Compile source file(s) and create an executable with a custom name:
    c99 -o executable_name file.c
  • Compile source file(s) and create object file(s):
    c99 -c file.c
  • Compile source file(s), link with object file(s), and create an executable:
    c99 file.c file.o

© tl;dr; authors and contributors