Mercurial > hg > qcc
changeset 445:085680cd701d
Minor documentation tweaks.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 08 May 2007 21:24:23 -0400 |
parents | 3f3bba82e2e0 |
children | 793f972cc158 |
files | README examples/ex5.c include/tcclib.h |
diffstat | 3 files changed, 11 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/README Mon May 07 12:44:33 2007 -0400 +++ b/README Tue May 08 21:24:23 2007 -0400 @@ -50,34 +50,34 @@ You can begin your C script with '#!/usr/bin/tcc -run' on the first line and set its execute bits (chmod a+x your_script). Then, you can -launch the C code as a shell or perl script :-) The command line -arguments are put in 'argc' and 'argv' of the main functions, as in +launch the C code like a shell or perl script :-) The command line +arguments are put in 'argc' and 'argv' of the function main(), as in ANSI C. 3) Examples -ex1.c: simplest example (hello world). Can also be launched directly +examples/ex1.c: simplest example (hello world). Can also be launched directly as a script: './ex1.c'. -ex2.c: more complicated example: find a number with the four +examples/ex2.c: more complicated example: find a number with the four operations given a list of numbers (benchmark). -ex3.c: compute fibonacci numbers (benchmark). +examples/ex3.c: compute fibonacci numbers (benchmark). -ex4.c: more complicated: X11 program. Very complicated test in fact +examples/ex4.c: more complicated: X11 program. Very complicated test in fact because standard headers are being used ! -ex5.c: 'hello world' with standard glibc headers. +examples/ex5.c: 'hello world' with standard glibc headers. tcc.c: TCC can of course compile itself. Used to check the code generator. -tcctest.c: auto test for TCC which tests many subtle possible bugs. Used -when doing 'make test'. +tests/tcctest.c: auto test for TCC which tests many subtle possible bugs. +Used when doing 'make test'. 4) Full Documentation -Please read tcc-doc.html to have all the features of TCC. +Please read tcc-doc.html for more information. Additional information is available for the Windows port in win32/readme.txt.
--- a/examples/ex5.c Mon May 07 12:44:33 2007 -0400 +++ b/examples/ex5.c Tue May 08 21:24:23 2007 -0400 @@ -1,4 +1,3 @@ -#include <stdlib.h> #include <stdio.h> int main()
--- a/include/tcclib.h Mon May 07 12:44:33 2007 -0400 +++ b/include/tcclib.h Tue May 08 21:24:23 2007 -0400 @@ -2,7 +2,7 @@ * * Add any function you want from the libc there. This file is here * only for your convenience so that you do not need to put the whole - * glibc include files on your floppy disk + * /usr/include directory on your target system. */ #ifndef _TCCLIB_H #define _TCCLIB_H