Unified · Split
| @@ -5,6 +5,7 @@ version 0.9.23: · 4 unmodified lines | ||
| 5 | 5 | - '#include_next' support (Bernhard Fischer) |
| 6 | 6 | - ignore '-pipe' option |
| 7 | 7 | - added -f[no-]leading-underscore |
| 8 | +- preprocessor function macro parsing fix (grischka) | |
| 8 | 9 | |
| 9 | 10 | version 0.9.22: |
| 10 | 11 | |
| @@ -28,9 +28,7 @@ Features: · 27 unmodified lines | ||
| 28 | 28 | Documentation: |
| 29 | 29 | ------------- |
| 30 | 30 | |
| 31 | −1) Installation | |
| 32 | − | |
| 33 | −*** TCC currently only works on Linux x86 with glibc >= 2.1 ***. | |
| 31 | +1) Installation on a i386 Linux host (for Windows read win32/readme.txt) | |
| 34 | 32 | |
| 35 | 33 | ./configure |
| 36 | 34 | make |
| @@ -81,6 +79,9 @@ when doing 'make test'. · 44 unmodified lines | ||
| 81 | 79 | |
| 82 | 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 | 85 | License: |
| 85 | 86 | ------- |
| 86 | 87 | |
| @@ -219,6 +219,9 @@ Let the @code{char} type be signed. · 218 unmodified lines | ||
| 219 | 219 | @item -fno-common |
| 220 | 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 | 225 | @end table |
| 223 | 226 | |
| 224 | 227 | Warning options: |
| @@ -542,6 +545,8 @@ operands are supported. · 317 unmodified lines | ||
| 542 | 545 | @item @code{__builtin_types_compatible_p()} and @code{__builtin_constant_p()} |
| 543 | 546 | are supported. |
| 544 | 547 | |
| 548 | +@item @code{#pragma pack} is supported for win32 compatibility. | |
| 549 | + | |
| 545 | 550 | @end itemize |
| 546 | 551 | |
| 547 | 552 | @section TinyCC extensions |
| @@ -713,6 +718,18 @@ options (@option{--start-group} and @option{--end-group}) are supported. · 165 unmodified lines | ||
| 713 | 718 | TCC can load ELF object files, archives (.a files) and dynamic |
| 714 | 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 | 733 | @section GNU Linker Scripts |
| 717 | 734 | @cindex scripts, linker |
| 718 | 735 | @cindex linker scripts |
| @@ -28,7 +28,20 @@ · 27 unmodified lines | ||
| 28 | 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 | 47 | Just unzip the package to a directory anywhere on your computer. |