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.
 
 
 
 
 
 
Macoy Madson 0b0f377992 Made it possible to use a custom allocator to run 7 days ago
examples makefile: unify cross with native builds 6 years ago
include tcc android-enabled (armeabi-v7a) 5 months ago
lib tcc android-enabled (armeabi-v7a) 5 months ago
tests gcctestsuite: Make the script usable on more systems, skip some tests 2 months ago
win32 Add few Windows API that can be used to detect the exact Windows version we are running on. 1 year ago
.gitignore bored... 7 months ago
COPYING changed license to LGPL 20 years ago
Changelog 'long' review 5 years ago
CodingStyle CodingStyle: Remove reference to misaligned struct CString. 7 years ago
Makefile Revert "tcc.h: Extend search path for include, lib and crt" 3 months ago
README *BSD: mention all BSD ports in README. 2 years ago
RELICENSING Relicensing TinyCC 2 years ago
TODO Remove a bit-field TODO 6 years ago
USES USES: add mpc library 2 years ago
VERSION update VERSION to 0.9.27 6 years ago
arm-asm.c bored... 7 months ago
arm-gen.c dynamic executables (PIE) 5 months ago
arm-link.c dynamic executables (PIE) 5 months ago
arm-tok.h arm-asm: Add vcvt 2 years ago
arm64-asm.c Revert "Move almost all global variables to TCCState, actually all tests pass on Ubuntu 18.04 x86_64" 1 year ago
arm64-gen.c Fix arm64 compilation 4 months ago
arm64-link.c dynamic executables (PIE) 5 months ago
c67-gen.c Revert "Move almost all global variables to TCCState, actually all tests pass on Ubuntu 18.04 x86_64" 1 year ago
c67-link.c tccdbg.c: new file 7 months ago
coff.h Spelling fixes in C comments only 6 years ago
configure configure: Fix Android detection 3 months ago
conftest.c tcc android-enabled (armeabi-v7a) 5 months ago
dwarf.h Add dwarf support 7 months ago
elf.h dynamic executables (PIE) 5 months ago
i386-asm.c x86asm: Add vm* and iret[wlq] insns 4 months ago
i386-asm.h x86asm: Add popcnt 4 months ago
i386-gen.c Add dwarf support 7 months ago
i386-link.c dynamic executables (PIE) 5 months ago
i386-tok.h x86asm: Add popcnt 4 months ago
il-gen.c Spelling fixes in C comments only 6 years ago
il-opcodes.h Revert all of my changes to directories & codingstyle. 7 years ago
libtcc.c Made it possible to use a custom allocator to run 7 days ago
libtcc.h Made it possible to use a custom allocator to run 7 days ago
riscv64-asm.c Fix riscv assembler 6 months ago
riscv64-gen.c Add dwarf support 7 months ago
riscv64-link.c dynamic executables (PIE) 5 months ago
riscv64-tok.h Fix riscv assembler 6 months ago
stab.def Revert all of my changes to directories & codingstyle. 7 years ago
stab.h Revert all of my changes to directories & codingstyle. 7 years ago
tcc-doc.texi bored... 7 months ago
tcc.c - tcc -vv: show cross-libtcc1.a correctly (and more) 3 months ago
tcc.h Made it possible to use a custom allocator to run 7 days ago
tccasm.c Support asm goto 4 months ago
tcccoff.c Revert "Move almost all global variables to TCCState, actually all tests pass on Ubuntu 18.04 x86_64" 1 year ago
tccdbg.c - tcc -vv: show cross-libtcc1.a correctly (and more) 3 months ago
tccelf.c Made it possible to use a custom allocator to run 7 days ago
tccgen.c - tcc -vv: show cross-libtcc1.a correctly (and more) 3 months ago
tcclib.h Revert all of my changes to directories & codingstyle. 7 years ago
tccmacho.c libtcc: extend tcc_add_dllref() 5 months ago
tccpe.c tccelf: sort_sections() 5 months ago
tccpp.c tccpp: #define max(a,b) && max /= 8; 2 months ago
tccrun.c Made it possible to use a custom allocator to run 7 days ago
tcctok.h Add __has_include and __has_include_next support 4 months ago
tcctools.c Allowing 'tcc -ar' to create empty archives 8 months ago
texi2pod.pl Revert all of my changes to directories & codingstyle. 7 years ago
x86_64-asm.h x86asm: Add movnti 4 months ago
x86_64-gen.c - tcc -vv: show cross-libtcc1.a correctly (and more) 3 months ago
x86_64-link.c Made it possible to use a custom allocator to run 7 days 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