History

update

bellard committed 21 years ago

Commit 16559cd1 parent 4386b454 files · +36 −4Browse files

Unified · Split

4 files
  1. Changelog +1 −0
  2. README +4 −3
  3. tcc-doc.texi +17 −0
  4. win32/readme.txt +14 −1
Changelog+1−0
@@ -5,6 +5,7 @@ version 0.9.23: · 4 unmodified lines
55 - '#include_next' support (Bernhard Fischer)
66 - ignore '-pipe' option
77 - added -f[no-]leading-underscore
8+- preprocessor function macro parsing fix (grischka)
89
910 version 0.9.22:
1011
README+4−3
@@ -28,9 +28,7 @@ Features: · 27 unmodified lines
2828 Documentation:
2929 -------------
3030
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)
3432
3533 ./configure
3634 make
@@ -81,6 +79,9 @@ when doing 'make test'. · 44 unmodified lines
8179
8280 Please read tcc-doc.html to have all the features of TCC.
8381
82+Additional information is available for the Windows port in
83+win32/readme.txt.
84+
8485 License:
8586 -------
8687
tcc-doc.texi+17−0
@@ -219,6 +219,9 @@ Let the @code{char} type be signed. · 218 unmodified lines
219219 @item -fno-common
220220 Do not generate common symbols for uninitialized data.
221221
222+@item -fleading-underscore
223+Add a leading underscore at the beginning of each C symbol.
224+
222225 @end table
223226
224227 Warning options:
@@ -542,6 +545,8 @@ operands are supported. · 317 unmodified lines
542545 @item @code{__builtin_types_compatible_p()} and @code{__builtin_constant_p()}
543546 are supported.
544547
548+@item @code{#pragma pack} is supported for win32 compatibility.
549+
545550 @end itemize
546551
547552 @section TinyCC extensions
@@ -713,6 +718,18 @@ options (@option{--start-group} and @option{--end-group}) are supported. · 165 unmodified lines
713718 TCC can load ELF object files, archives (.a files) and dynamic
714719 libraries (.so).
715720
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+
716733 @section GNU Linker Scripts
717734 @cindex scripts, linker
718735 @cindex linker scripts
win32/readme.txt+14−1
@@ -28,7 +28,20 @@ · 27 unmodified lines
2828 - TCC can of course compile itself.
2929
3030
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)
3245 -------------
3346
3447 Just unzip the package to a directory anywhere on your computer.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t