Skip to content
A

Amacc

Small C Compiler generating ELF executable Arm architecture

by jservFree

#2428in Developer Tools
0In stores

Description

AMaCC (Arguably Minimalist Arm C Compiler) is a small 32-bit Arm C compiler written from scratch as a teaching tool for learning how compile…

Highlights

  • JIT execution on Arm
  • Generates GNU/Linux ELF executables
  • Self-hosting C subset
  • Inspectable stack-based intermediate representation
  • Supports C89 statements (except typedef) and operators

Ratings & Reviews

No ratings yet

Be the first to rate Amacc.

People also visit

S

Shecc

A self-hosting and educational C optimizing compiler

Developer Tools
Launch
X

XCC

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

Developer Tools
Launch
S

selfie

An educational software system of a tiny self-compiling C compiler

Developer Tools
Launch
S

SmallerC

Simple C compiler

Developer Tools
Launch
C

Cdecl

Composing and deciphering C (or C++) declarations or casts, aka ‘‘gibberish.’’

Developer Tools
Launch
C

Compiler Explorer

Compile code with thousands of compilers, inspect the assembly

AI Skills
Get

Amacc FAQ

What is AMaCC?

A minimalist 32-bit Arm C compiler built from scratch to teach how compilers, linkers and loaders work.

How can the compiled code run?

Either through its just-in-time compiler on Arm, or as an ELF executable for GNU/Linux.

How much of C does it support?

All C89 statements except typedef, all C89 expression operators, and char, int, enum, struct, union and multi-level pointers. It compiles enough C to compile itself.

Can I see the intermediate code?

Yes, a command-line option lets you examine the stack-based IR.

What are the best Amacc alternatives?

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

Developer Stuff

Badges