TCC - Tiny C Compiler

This section provides a quick introduction of Tiny C Compiler developed by Fabrice Bellard in 2002.

Tiny C Compiler (TCC) is small and fast C compiler for x86 machines developed by Fabrice Bellard in 2002. Main features of TCC are:

You can download Windows binary distribution of TCC at http://bellard.org/tcc/.

Here is a session of compiling, linking and executing a simple C program with TCC on a Windows system:

C:\herong>type hello.c
#include <stdio.h>
main() {
   printf("Hello world!\n");
}

C:\herong>\local\tcc\tcc -c hello.c -o hello.o -v
tcc version 0.9.24
-> hello.c
<- hello.o

C:\herong>\local\tcc\tcc hello.o -o hello.exe -v
tcc version 0.9.24
-> hello.o
<- hello.exe (1536 bytes)

C:\herong>hello.exe
Hello world!

Table of Contents

 About This Book

 1957 - FORTRAN Language Developed by IBM

 1970 - UNIX Operating System Developed by AT&T Bell Labs

 1971 - FTP Protocol Created by Abhay Bhushan

1972 - C Language Developed by Dennis Ritchie

 What Is C Language?

TCC - Tiny C Compiler

 Compilation and Execution Process of C Programs

 GNU C Compiler

 Sample C Program for Arrays and Pointers

 Sample C Program for Dynamic Memory Allocation - malloc()

 1976 - vi Text Editor Developed by Bill Joy

 1977 - Apple II Designed by Steve Jobs and Steve Wozniak

 1977 - The Bourne Shell Developed by Stephen Bourne

 1978 - The C Shell Developed by Bill Joy

 1978 - Bash (Bourne-Again Shell) Developed by Brian Fox

 1979 - The Tcsh (TENEX C Shell) Developed by Ken Greer

 1983 - "Sendmail" Mail Transfer Agent Developed by Eric Allman

 1984 - Macintosh Developed by Apple Inc.

 1984 - X Window System Developed a MIT Team

 1991 - WWW (World Wide Web) Developed by Tim Berners-Lee

 1991 - Gopher Protocol Created by a University of Minnesota Team

 1995 - Java Language Developed by Sun Microsystems

 1995 - PHP: Hypertext Preprocessor Created by Rasmus Lerdorf

 2002 - .NET Framework Developed by Microsoft

 References

 PDF Printing Version