BSD Ports

lang/tcc 0.9.27.20230705p0 OpenBSD

tiny C compiler

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
lang

Description

TCC (Tiny C Compiler) is a small and fast ANSI C compiler. It generates optimized code, and can compile, assemble, and link several times faster than 'gcc -O0'. Any C dynamic library can be used directly. It includes an optional memory and bounds checker, and bounds-checked code can be mixed freely with standard code. C scripting is also supported via the usual hash-bang mechanism.

Backends exist for amd64, i386, arm, arm64, and riscv64.

In the other systems

SystemPortVersion
OpenBSDlang/tcc0.9.27.20230705p0
FreeBSDlang/tcc0.9.26_7

Install

Binary package:

pkg_add tcc

From the ports tree:

cd /usr/ports/lang/tcc && make install

Dependencies

Build dependencies 1

No port depends on this one.