5 TinyCC (aka TCC) is a small but hyperfast C compiler,
\r
6 written by Fabrice Bellard,
\r
9 TinyCC-PE is the TinyCC compiler with an extension to
\r
10 write PE executables for MS-Windows.
\r
16 TinyCC-PE can produce console applications, native windows
\r
17 GUI programs and DLL's.
\r
19 Most of the features pointed out by Fabrice Bellard for the
\r
20 original version are still valid, i.e:
\r
22 - SMALL! The package with ~400kb includes a complete C-compiler
\r
23 with header files for console and GUI applications.
\r
25 - With the -run switch you can run C-sources without any
\r
26 linking directly from the command line.
\r
28 - TCC can of course compile itself.
\r
34 Just unzip the package to a directory anywhere on your computer.
\r
40 For the 'Fibonacci' console example type from the command line:
\r
45 For the 'Hello Windows' GUI example:
\r
47 tcc examples\hello_win.c
\r
50 For the 'Hello DLL' example:
\r
52 tcc -shared examples\dll.c
\r
53 tcc examples\hello_dll.c examples\dll.def
\r
59 TinyCC-PE searches and reads import definition files similar
\r
62 The included 'tiny_impdef' program may be used to make .def files
\r
63 for any DLL, e.g for an 'opengl32.def':
\r
65 tiny_impdef.exe opengl32.dll
\r
67 or to the same effect:
\r
69 tcc -lkernel32 -run tiny_impdef.c opengl32.dll
\r
75 The system header files, except '_mingw.h', are from the
\r
76 2.0 mingw distribution. See also: http://www.mingw.org/
\r
82 With TCC itself just say:
\r
84 tcc src\tcc.c -lkernel32 -o tcc.new.exe
\r
86 Other compilers like mingw-gcc or msvc work as well.
\r
87 To make libtcc1.a, you need 'ar' from the mingw binutils.
\r
90 Documentation and License:
\r
91 --------------------------
\r
93 TCC is distributed under the GNU Lesser General Public License
\r
96 Please read the original tcc-doc.html to have all the features
\r
97 of TCC. Also visit: http://fabrice.bellard.free.fr/tcc/
\r
100 --------------------------------------------
\r
101 09.Apr.2005 - grischka@users.sourceforge.net
\r