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
| System | Port | Version |
|---|---|---|
| FreeBSD | lang/tcc | 0.9.26_7 |
| OpenBSD | lang/tcc | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 0.9.26_7 | - | - | 0.9.26_7 |
| FreeBSD:14:quarterly | - | 0.9.26_7 | n/a | - | 0.9.26_7 |
| FreeBSD:15:latest | - | 0.9.26_7 | n/a | - | 0.9.26_7 |
| FreeBSD:15:quarterly | - | 0.9.26_7 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 0.9.26_7 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build 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
| File | Size | SHA256 |
|---|---|---|
| TinyCC-tinycc-release_0_9_26_GH0.tar.gz | 600103 | 332e337718edcc001c70f70bda2ce10681e4f008bed2ce95084f937c791d1f47 |
Commit history 0
No commits in the history this site was built from.