Projects / Tiny C Compiler

Tiny C Compiler

TCC (Tiny C Compiler) is small, fast, unlimited, and safe. You can compile and execute C code everywhere (e.g., on rescue disks). It generates optimized x86 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 script is also supported--just add '#!/usr/bin/tcc' at the first line of your C source, and execute it directly from the command line.

Tags Software Development Compilers
Licenses GPL
Operating Systems OS Independent
Implementation C

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  14 Jul 2008 13:59
  • Rrelease-after

No changes have been submitted for this release.

  • Rrelease-mid
  •  06 Aug 2005 13:24
  • Rrelease-after

No changes have been submitted for this release.

  • Rrelease-mid
  •  03 Dec 2003 14:05
  • Rrelease-after

Changes: A '-w' option and '.gnu.linkonce' ELF section support have been added. libc linking when running in memory has been fixed (avoids 'stat' function errors). The '-run' option has been extended to be able to give several arguments to a C script.

  • Rrelease-mid
  •  24 May 2003 13:44
  • Rrelease-after

Changes: The license was changed to the LGPL.

  • Rrelease-mid
  •  16 May 2003 05:41
  • Rrelease-after

Changes: This release adds a header fix (in time.h), a fix for inline asm without an operand case, a fix for "default:" or "case x:" with "}" after it (an incorrect C construct accepted by gcc), and an "A" inline asm constraint.

Rss Recent comments

Rcomment-before 31 Oct 2002 09:48 Rcomment-trans nigelhorne Rcomment-after

Initial comments
The idea behing this is very sound, but the bounds checker didn't seem to dump any useful info. Even with the "-g" option which apparently is implied by the "-b" option there is no info for gdb to use in a stack trace to find out where the program's crashed. But please keep up the project - as I said the idea is good.

No-screenshot

Project Spotlight

JS Auto Form Validator

A script that lets you handle form validation without writing JavaScript code.

No-screenshot

Project Spotlight

KSI Scheme

An implementation of the Scheme programming language