The Project

Platform Support

Following is a list of operating systems and architectures supported by tcc. The table indicates the status of support for each combination using the following harvey balls:

● Supported
◐ Present but untested. If you're interested, come and help out!
○ Known broken
Non-applicable (i.e. no OS support) or unimplemented (i.e. the OS will run, but TenDRA has no code for that combination)

680x0 alpha mips ppc60180x86 hppa power sparc
SunOS
DragonFlyBSD
FreeBSD 2
Linux 1
NetBSD 4
OpenBSD 3
Solaris
OSF1
IRIX
ULTRIX
AIX
HP-UX

For the following versions:

  1. GNU/Linux (kernel 2.6)
  2. FreeBSD 6.3
  3. OpenBSD 4.2 and newer
  4. NetBSD 3.1 (Newer versions don't work yet)

ELF is the only supported binary format. While some installers offer a.out, it is not tested and very likely to be broken.

Supported APIs

tcc asserts the validity of APIs from portable definitions provided by tspec. The current API implementations are:

API Status Description
ansi Complete ANSI C (X3.159)
cpp Complete C++
iso Complete ISO C incorporating (normative) amendment 1, 1995-04-01. ISO/IEC 9899:1990/Amendment 1:1995 (E)
gcc Complete An extension to XPG3 sufficient to deal with the gcc SPEC test
posix Complete IEEE Std 1003.1-1988 (POSIX)
posix1 Complete IEEE Std 1003.1-1990, Core Services standard update (POSIX.1), and ISO/IEC 9945-1:1990
posix2 Complete IEEE Std 1003.2-1992, POSIX Shell and Utilities standard (POSIX.2), and ISO/IEC 9945-2:1993
posix3 Work in progress IEEE Std 1003.1-2003 and ISO/IEC 9945:2003
unix95 Complete X/Open Single UNIX Specification
bsd_extn Subset BSD-like extensions
xpg3 Subset XPG3 standard (X/Open Portability Guide, Volume 3, 1989)
xpg4 Subset XPG4 standard (X/Open Portability Guide, Volume 4, 1992
svid3 Subset System V Interface Definition (Third Edition, 1989)
motif Complete IEEE MTE 1295-1993 standard for the Motif 1.2 API
x5 Complete X Protocol, Version 11, Release 5 (1991)