BSD Ports

lang/tcc 0.9.26_7 FreeBSD

Tiny C Compiler

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL21
Categories
lang

Description

Tiny C Compiler is perhaps the smallest ANSI C compiler, by Fabrice Bellard.

  • It is small: you can compile and execute C code everywhere, for example on rescue disks;

  • It is fast! TCC generates optimized x86 code. No byte code overhead. Compile, assemble, and link about 7 times faster than 'gcc -O0';

  • Any C dynamic library can be used directly. TCC is heading towards full ISO C99 compliance. TCC can of course compile itself;

  • It is safe! TCC includes 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 is necessary. Full C preprocessor included;

  • C script supported: just add '#!/bin/env tcc -run' at the first line of your C source, and execute it directly from the command line.

In the other systems

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

Install

Binary package:

pkg install tcc

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	tcc>0:lang/tcc

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.9.26_7--0.9.26_7
FreeBSD:14:quarterly-0.9.26_7n/a-0.9.26_7
FreeBSD:15:latest-0.9.26_7n/a-0.9.26_7
FreeBSD:15:quarterly-0.9.26_7n/an/an/a
FreeBSD:16:latest-0.9.26_7n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 10
Run dependencies 1

No port depends on this one.

Configuration

Options name: lang_tcc

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
USES
gmake makeinfo perl5
Service scripts
none

Files

Manual pages 1
  • tcc(1)
pkg-plist 22
  • bin/tcc
  • include/libtcc.h
  • lib/libtcc.a
  • lib/tcc/include/float.h
  • lib/tcc/include/stdarg.h
  • lib/tcc/include/stdbool.h
  • lib/tcc/include/stddef.h
  • lib/tcc/include/tcclib.h
  • lib/tcc/include/varargs.h
  • lib/tcc/bcheck.o
  • lib/tcc/alloca86.o
  • lib/tcc/alloca86-bt.o
  • lib/tcc/alloca86_64.o
  • lib/tcc/libtcc1.o
  • lib/tcc/libtcc1.a
  • share/man/man1/tcc.1.gz
  • share/doc/tcc/tcc-doc.html
  • share/examples/tcc/ex1.c
  • share/examples/tcc/ex2.c
  • share/examples/tcc/ex3.c
  • share/examples/tcc/ex4.c
  • share/examples/tcc/ex5.c
distinfo 1
FileSizeSHA256
TinyCC-tinycc-release_0_9_26_GH0.tar.gz600103332e337718edcc001c70f70bda2ce10681e4f008bed2ce95084f937c791d1f47

Commit history 0

No commits in the history this site was built from.