BSD Ports

wip/tcc 0.9.22 NetBSD

The Smallest ANSI C compiler

System
NetBSD
Repository
pkgsrc-wip
Maintainer
[email protected]
Categories
wip, lang

Description

Tiny C Compiler - C Scripting Everywhere - The Smallest ANSI C compiler

Features:

  • SMALL! You can compile and execute C code everywhere, for example on rescue disks.
  • FAST! tcc generates optimized x86 code. No byte code overhead. Compile, assemble and link about 7 times faster than 'gcc -O0'.
  • UNLIMITED! Any C dynamic library can be used directly. TCC is heading torward full ISOC99 compliance. TCC can of course compile itself.
  • SAFE! tcc includes an optional memory and bound checker. Bound checked code can be mixed freely with standard code.
  • Compile and execute C source directly. No linking or assembly necessary. Full C preprocessor included.
  • C script supported : just add '#!/usr/local/bin/tcc -run' at the first line of your C source, and execute it directly from the command line.

In the other systems

The newest version among them is 0.9.27.20230705, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDwip/tcc0.9.22none known-[email protected]-
FreeBSDlang/tcc by name0.9.26_7none known-[email protected]-
OpenBSDlang/tcc by name0.9.27.20230705p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
HardenedBSDlang/tcc by name0.9.26_7no data-[email protected]-
GhostBSDlang/tcc by name0.9.26_7no data-[email protected]-

Compare across BSDs

Install

From pkgsrc-wip (no binary package):

cd /usr/pkgsrc/wip/tcc && make install clean

Dependencies

No port depends on this one.