Unified · Split
| @@ -5,6 +5,7 @@ version 0.9.23: · 4 unmodified lines | |||
| 5 | - '#include_next' support (Bernhard Fischer) | 5 | - '#include_next' support (Bernhard Fischer) |
| 6 | - ignore '-pipe' option | 6 | - ignore '-pipe' option |
| 7 | - added -f[no-]leading-underscore | 7 | - added -f[no-]leading-underscore |
| 8 | - preprocessor function macro parsing fix (grischka) | ||
| 8 | 9 | ||
| 9 | version 0.9.22: | 10 | version 0.9.22: |
| 10 | 11 | ||
| @@ -28,9 +28,7 @@ Features: · 27 unmodified lines | |||
| 28 | Documentation: | 28 | Documentation: |
| 29 | ------------- | 29 | ------------- |
| 30 | 30 | ||
| 31 | 1) Installation | 31 | 1) Installation on a i386 Linux host (for Windows read win32/readme.txt) |
| 32 | |||
| 33 | *** TCC currently only works on Linux x86 with glibc >= 2.1 ***. | ||
| 34 | 32 | ||
| 35 | ./configure | 33 | ./configure |
| 36 | make | 34 | make |
| @@ -81,6 +79,9 @@ when doing 'make test'. · 44 unmodified lines | |||
| 81 | 79 | ||
| 82 | Please read tcc-doc.html to have all the features of TCC. | 80 | Please read tcc-doc.html to have all the features of TCC. |
| 83 | 81 | ||
| 82 | Additional information is available for the Windows port in | ||
| 83 | win32/readme.txt. | ||
| 84 | |||
| 84 | License: | 85 | License: |
| 85 | ------- | 86 | ------- |
| 86 | 87 | ||
| @@ -219,6 +219,9 @@ Let the @code{char} type be signed. · 218 unmodified lines | |||
| 219 | @item -fno-common | 219 | @item -fno-common |
| 220 | Do not generate common symbols for uninitialized data. | 220 | Do not generate common symbols for uninitialized data. |
| 221 | 221 | ||
| 222 | @item -fleading-underscore | ||
| 223 | Add a leading underscore at the beginning of each C symbol. | ||
| 224 | |||
| 222 | @end table | 225 | @end table |
| 223 | 226 | ||
| 224 | Warning options: | 227 | Warning options: |
| @@ -542,6 +545,8 @@ operands are supported. · 317 unmodified lines | |||
| 542 | @item @code{__builtin_types_compatible_p()} and @code{__builtin_constant_p()} | 545 | @item @code{__builtin_types_compatible_p()} and @code{__builtin_constant_p()} |
| 543 | are supported. | 546 | are supported. |
| 544 | 547 | ||
| 548 | @item @code{#pragma pack} is supported for win32 compatibility. | ||
| 549 | |||
| 545 | @end itemize | 550 | @end itemize |
| 546 | 551 | ||
| 547 | @section TinyCC extensions | 552 | @section TinyCC extensions |
| @@ -713,6 +718,18 @@ options (@option{--start-group} and @option{--end-group}) are supported. · 165 unmodified lines | |||
| 713 | TCC can load ELF object files, archives (.a files) and dynamic | 718 | TCC can load ELF object files, archives (.a files) and dynamic |
| 714 | libraries (.so). | 719 | libraries (.so). |
| 715 | 720 | ||
| 721 | @section PE-i386 file generation | ||
| 722 | @cindex PE-i386 | ||
| 723 | |||
| 724 | TCC for Windows supports the native Win32 executable file format (PE-i386). It | ||
| 725 | generates both EXE and DLL files. DLL symbols can be imported thru DEF files | ||
| 726 | generated with the @code{tiny_impdef} tool. | ||
| 727 | |||
| 728 | Currently TCC for Windows cannot generate nor read PE object files, so ELF | ||
| 729 | object files are used for that purpose. It can be a problem if | ||
| 730 | interoperability with MSVC is needed. Moreover, no leading underscore is | ||
| 731 | currently generated in the ELF symbols. | ||
| 732 | |||
| 716 | @section GNU Linker Scripts | 733 | @section GNU Linker Scripts |
| 717 | @cindex scripts, linker | 734 | @cindex scripts, linker |
| 718 | @cindex linker scripts | 735 | @cindex linker scripts |
| @@ -28,7 +28,20 @@ · 27 unmodified lines | |||
| 28 | - TCC can of course compile itself. | 28 | - TCC can of course compile itself. |
| 29 | 29 | ||
| 30 | 30 | ||
| 31 | Installation: | 31 | Compilation: (omit that if you use the binary ZIP package) |
| 32 | ------------ | ||
| 33 | |||
| 34 | You must use the MinGW and MSYS tools available at | ||
| 35 | http://www.mingw.org to compile TCC for Windows. Untar the TCC | ||
| 36 | archive and type in the MSYS shell: | ||
| 37 | |||
| 38 | ./configure | ||
| 39 | make | ||
| 40 | make install | ||
| 41 | |||
| 42 | TCC is installed in c:\Program Files\tcc | ||
| 43 | |||
| 44 | Installation: (from the binary ZIP package) | ||
| 32 | ------------- | 45 | ------------- |
| 33 | 46 | ||
| 34 | Just unzip the package to a directory anywhere on your computer. | 47 | Just unzip the package to a directory anywhere on your computer. |