Unified · Split
| @@ -50,7 +50,7 @@ The include file <tcclib.h> can be used if you want a small basic libc · 49 unmodified lines | |||
| 50 | include support (especially useful for floppy disks). Of course, you | 50 | include support (especially useful for floppy disks). Of course, you |
| 51 | can also use standard headers, although they are slower to compile. | 51 | can also use standard headers, although they are slower to compile. |
| 52 | 52 | ||
| 53 | You can begin your C script with '#!/usr/local/bin/tcc' on the first | 53 | You can begin your C script with '#!/usr/local/bin/tcc -run' on the first |
| 54 | line and set its execute bits (chmod a+x your_script). Then, you can | 54 | line and set its execute bits (chmod a+x your_script). Then, you can |
| 55 | launch the C code as a shell or perl script :-) The command line | 55 | launch the C code as a shell or perl script :-) The command line |
| 56 | arguments are put in 'argc' and 'argv' of the main functions, as in | 56 | arguments are put in 'argc' and 'argv' of the main functions, as in |