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 c03d59eae0 Fix macos warning for create_gnu_hash 12 months 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 gcctestsuite: Make the script usable on more systems, skip some tests 12 months 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 Revert "tcc.h: Extend search path for include, lib and crt" 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 configure: Fix Android detection 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 tccpp: #define max(a,b) && max /= 8; 12 months 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 - tcc -vv: show cross-libtcc1.a correctly (and more) 1 year ago
tcc.h Revert "tcc.h: Extend search path for include, lib and crt" 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 - tcc -vv: show cross-libtcc1.a correctly (and more) 1 year ago
tccelf.c Fix macos warning for create_gnu_hash 12 months ago
tccgen.c - tcc -vv: show cross-libtcc1.a correctly (and more) 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: #define max(a,b) && max /= 8; 12 months 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 - tcc -vv: show cross-libtcc1.a correctly (and more) 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