My fork of the Tiny C Compiler, designed to support self-modifying and hot-reloading applications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
herman ten brugge 90b68cbd58 Fix arm64 compilation 1 year ago
examples makefile: unify cross with native builds 7 years ago
include tcc android-enabled (armeabi-v7a) 1 year ago
lib tcc android-enabled (armeabi-v7a) 1 year ago
tests Fix arm64 compilation 1 year ago
win32 Add few Windows API that can be used to detect the exact Windows version we are running on. 2 years ago
.gitignore bored... 1 year ago
COPYING changed license to LGPL 21 years ago
Changelog 'long' review 6 years ago
CodingStyle CodingStyle: Remove reference to misaligned struct CString. 8 years ago
Makefile tcc android-enabled (armeabi-v7a) 1 year ago
README *BSD: mention all BSD ports in README. 3 years ago
RELICENSING Relicensing TinyCC 2 years ago
TODO Remove a bit-field TODO 6 years ago
USES USES: add mpc library 3 years ago
VERSION update VERSION to 0.9.27 7 years ago
arm-asm.c bored... 1 year ago
arm-gen.c dynamic executables (PIE) 1 year ago
arm-link.c dynamic executables (PIE) 1 year ago
arm-tok.h arm-asm: Add vcvt 3 years ago
arm64-asm.c Revert "Move almost all global variables to TCCState, actually all tests pass on Ubuntu 18.04 x86_64" 2 years ago
arm64-gen.c Fix arm64 compilation 1 year ago
arm64-link.c dynamic executables (PIE) 1 year ago
c67-gen.c Revert "Move almost all global variables to TCCState, actually all tests pass on Ubuntu 18.04 x86_64" 2 years ago
c67-link.c tccdbg.c: new file 1 year ago
coff.h Spelling fixes in C comments only 6 years ago
configure tcc android-enabled (armeabi-v7a) 1 year ago
conftest.c tcc android-enabled (armeabi-v7a) 1 year ago
dwarf.h Add dwarf support 1 year ago
elf.h dynamic executables (PIE) 1 year ago
i386-asm.c x86asm: Add vm* and iret[wlq] insns 1 year ago
i386-asm.h x86asm: Add popcnt 1 year ago
i386-gen.c Add dwarf support 1 year ago
i386-link.c dynamic executables (PIE) 1 year ago
i386-tok.h x86asm: Add popcnt 1 year ago
il-gen.c Spelling fixes in C comments only 6 years ago
il-opcodes.h Revert all of my changes to directories & codingstyle. 8 years ago
libtcc.c Accept -Wl,Map=filename.map 1 year ago
libtcc.h dynamic executables (PIE) 1 year ago
riscv64-asm.c Fix riscv assembler 1 year ago
riscv64-gen.c Add dwarf support 1 year ago
riscv64-link.c dynamic executables (PIE) 1 year ago
riscv64-tok.h Fix riscv assembler 1 year ago
stab.def Revert all of my changes to directories & codingstyle. 8 years ago
stab.h Revert all of my changes to directories & codingstyle. 8 years ago
tcc-doc.texi bored... 1 year ago
tcc.c Accept -Wl,Map=filename.map 1 year ago
tcc.h Fix null pointer constants 1 year ago
tccasm.c Support asm goto 1 year ago
tcccoff.c Revert "Move almost all global variables to TCCState, actually all tests pass on Ubuntu 18.04 x86_64" 2 years ago
tccdbg.c Check dState instead of do_debug in tccdbg.c 1 year ago
tccelf.c Change plt_name size from 100 to 200. 1 year ago
tccgen.c Fix null pointer constants 1 year ago
tcclib.h Revert all of my changes to directories & codingstyle. 8 years ago
tccmacho.c libtcc: extend tcc_add_dllref() 1 year ago
tccpe.c tccelf: sort_sections() 1 year ago
tccpp.c tccpp: Fix #ifdef in macro args 1 year ago
tccrun.c tcc android-enabled (armeabi-v7a) 1 year ago
tcctok.h Add __has_include and __has_include_next support 1 year ago
tcctools.c Allowing 'tcc -ar' to create empty archives 1 year ago
texi2pod.pl Revert all of my changes to directories & codingstyle. 8 years ago
x86_64-asm.h x86asm: Add movnti 1 year ago
x86_64-gen.c Revert "Fix wrong handling of strings..." (almost) 1 year ago
x86_64-link.c dynamic executables (PIE) 1 year ago

README

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 toward 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.

Documentation:
-------------

1) Installation on a i386/x86_64/arm/aarch64/riscv64
Linux/macOS/FreeBSD/NetBSD/OpenB