mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-26 03:50:07 +08:00
update
This commit is contained in:
parent
4386b4566b
commit
16559cd60c
@ -5,6 +5,7 @@ version 0.9.23:
|
|||||||
- '#include_next' support (Bernhard Fischer)
|
- '#include_next' support (Bernhard Fischer)
|
||||||
- ignore '-pipe' option
|
- ignore '-pipe' option
|
||||||
- added -f[no-]leading-underscore
|
- added -f[no-]leading-underscore
|
||||||
|
- preprocessor function macro parsing fix (grischka)
|
||||||
|
|
||||||
version 0.9.22:
|
version 0.9.22:
|
||||||
|
|
||||||
|
7
README
7
README
@ -28,9 +28,7 @@ Features:
|
|||||||
Documentation:
|
Documentation:
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
1) Installation
|
1) Installation on a i386 Linux host (for Windows read win32/readme.txt)
|
||||||
|
|
||||||
*** TCC currently only works on Linux x86 with glibc >= 2.1 ***.
|
|
||||||
|
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
@ -81,6 +79,9 @@ when doing 'make test'.
|
|||||||
|
|
||||||
Please read tcc-doc.html to have all the features of TCC.
|
Please read tcc-doc.html to have all the features of TCC.
|
||||||
|
|
||||||
|
Additional information is available for the Windows port in
|
||||||
|
win32/readme.txt.
|
||||||
|
|
||||||
License:
|
License:
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
17
tcc-doc.texi
17
tcc-doc.texi
@ -219,6 +219,9 @@ Let the @code{char} type be signed.
|
|||||||
@item -fno-common
|
@item -fno-common
|
||||||
Do not generate common symbols for uninitialized data.
|
Do not generate common symbols for uninitialized data.
|
||||||
|
|
||||||
|
@item -fleading-underscore
|
||||||
|
Add a leading underscore at the beginning of each C symbol.
|
||||||
|
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
Warning options:
|
Warning options:
|
||||||
@ -542,6 +545,8 @@ operands are supported.
|
|||||||
@item @code{__builtin_types_compatible_p()} and @code{__builtin_constant_p()}
|
@item @code{__builtin_types_compatible_p()} and @code{__builtin_constant_p()}
|
||||||
are supported.
|
are supported.
|
||||||
|
|
||||||
|
@item @code{#pragma pack} is supported for win32 compatibility.
|
||||||
|
|
||||||
@end itemize
|
@end itemize
|
||||||
|
|
||||||
@section TinyCC extensions
|
@section TinyCC extensions
|
||||||
@ -713,6 +718,18 @@ options (@option{--start-group} and @option{--end-group}) are supported.
|
|||||||
TCC can load ELF object files, archives (.a files) and dynamic
|
TCC can load ELF object files, archives (.a files) and dynamic
|
||||||
libraries (.so).
|
libraries (.so).
|
||||||
|
|
||||||
|
@section PE-i386 file generation
|
||||||
|
@cindex PE-i386
|
||||||
|
|
||||||
|
TCC for Windows supports the native Win32 executable file format (PE-i386). It
|
||||||
|
generates both EXE and DLL files. DLL symbols can be imported thru DEF files
|
||||||
|
generated with the @code{tiny_impdef} tool.
|
||||||
|
|
||||||
|
Currently TCC for Windows cannot generate nor read PE object files, so ELF
|
||||||
|
object files are used for that purpose. It can be a problem if
|
||||||
|
interoperability with MSVC is needed. Moreover, no leading underscore is
|
||||||
|
currently generated in the ELF symbols.
|
||||||
|
|
||||||
@section GNU Linker Scripts
|
@section GNU Linker Scripts
|
||||||
@cindex scripts, linker
|
@cindex scripts, linker
|
||||||
@cindex linker scripts
|
@cindex linker scripts
|
||||||
|
@ -28,7 +28,20 @@
|
|||||||
- TCC can of course compile itself.
|
- TCC can of course compile itself.
|
||||||
|
|
||||||
|
|
||||||
Installation:
|
Compilation: (omit that if you use the binary ZIP package)
|
||||||
|
------------
|
||||||
|
|
||||||
|
You must use the MinGW and MSYS tools available at
|
||||||
|
http://www.mingw.org to compile TCC for Windows. Untar the TCC
|
||||||
|
archive and type in the MSYS shell:
|
||||||
|
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
TCC is installed in c:\Program Files\tcc
|
||||||
|
|
||||||
|
Installation: (from the binary ZIP package)
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Just unzip the package to a directory anywhere on your computer.
|
Just unzip the package to a directory anywhere on your computer.
|
||||||
|
Loading…
Reference in New Issue
Block a user