Skip to content
X

XCC

Standalone C compiler/assembler/linker/libc for x86-64/aarch64/riscv64/wasm

by tyfkdaFree

#3214in Developer Tools
0In stores

Description

xcc is a standalone C compiler toolchain that runs on Linux or macOS. It includes its own compiler, preprocessor, assembler, linker and libc…

Highlights

  • Own compiler, assembler, linker and libc
  • x86-64, aarch64, riscv64 and WebAssembly
  • wcc compiles C to WASI binaries
  • Built with make using gcc or clang

Ratings & Reviews

No ratings yet

Be the first to rate XCC.

People also visit

S

Shecc

A self-hosting and educational C optimizing compiler

Developer Tools
Launch
W

wasup

A Portable C ➤ WASM CDN

Developer Tools
Launch
A

Amacc

Small C Compiler generating ELF executable Arm architecture

Developer Tools
Launch
C

cppstat

C and C++ Compiler Support Page

Utilities
Launch
W

Wanix

A compute toolkit for the web with the depth of Plan 9 from Bell Labs

Developer Tools
Launch
R

Raspberry Pi Cross Compilers

Latest GCC Cross Compiler & Native (ARM & ARM64) CI generated precompiled…

Utilities
Launch

XCC FAQ

What is xcc?

A standalone C compiler, assembler, linker and libc for Linux and macOS.

Which architectures are supported?

x86-64, aarch64 (arm64), riscv64 and WebAssembly, producing ELF64 binaries.

What do I need to build it?

Linux or macOS, gcc or clang, and make.

Can it compile to WebAssembly?

Yes. The wcc tool compiles C to WebAssembly and WASI binaries, and the README links an online demo.

What are the known limits?

Optimization and an archiver are on the TODO list. In the WebAssembly compiler, goto can only jump to an ancestor or a later line.

What are the best XCC alternatives?

Popular alternatives to XCC include Shecc, wasup and Amacc. See all XCC alternatives

Developer Stuff

Badges