diff options
| author | grischka <grischka> | 2017-02-13 19:03:29 +0100 |
|---|---|---|
| committer | grischka <grischka> | 2017-02-13 19:03:29 +0100 |
| commit | 43d9a7de9b83f437d55c2cbc6e9625e3fafa5102 (patch) | |
| tree | 5890bbdeebd2bec986afd99f51f624c652a915a9 /tcc-doc.texi | |
| parent | 13056da039240a1d418335f6e0506a89fb2d8495 (diff) | |
| download | tinycc-43d9a7de9b83f437d55c2cbc6e9625e3fafa5102.tar.gz tinycc-43d9a7de9b83f437d55c2cbc6e9625e3fafa5102.tar.bz2 | |
updates & cleanups (tcc-doc/Changelog/TODO ...)
- tcc-doc.texi: commandline option info update
- Changelog/TODO: update
- tests/tcctest.py: removed
- tests/Makefile: weaktest fixed
- tests/tests2: some files renamed and/or converted to unix LF
- configure/Makefile: --enable-static option (no dll on win32)
- win32/build-tcc.bat: msvc support
- win32/tcc-win32.txt: build info update
- win32/vs2015/: VS solution removed
- win32/include/tcc/tcc_libm.h: #include statement fixed
- tcc.c: -include <file> option help info
- .gitignore: cleanup
Diffstat (limited to 'tcc-doc.texi')
| -rw-r--r-- | tcc-doc.texi | 48 |
1 files changed, 33 insertions, 15 deletions
diff --git a/tcc-doc.texi b/tcc-doc.texi index 9f136ed..db1d28f 100644 --- a/tcc-doc.texi +++ b/tcc-doc.texi @@ -176,29 +176,15 @@ In a script, it gives the following header: #!/usr/local/bin/tcc -run -L/usr/X11R6/lib -lX11 @end example -@item -mms-bitfields -Use an algorithm for bitfield alignment consistent with MSVC. Default is -gcc's algorithm. - -@item -mfloat-abi (ARM only) -Select the float ABI. Possible values: @code{softfp} and @code{hard} - -@item -dumpversion -Print only the compiler version and nothing else. - @item -v Display TCC version. @item -vv -Show included files. As sole argument, print search dirs (as below). +Show included files. As sole argument, print search dirs. -vvv shows tries too. @item -bench Display compilation statistics. -@item -print-search-dirs -Print the configured installation directory and a list of library -and include directories tcc will search. - @end table Preprocessor options: @@ -220,6 +206,10 @@ also be defined: @option{-DF(a)=a+1} @item -Usym Undefine preprocessor symbol @samp{sym}. + +@item -E +Preprocess only, to stdout or file (with -o). + @end table Compilation flags: @@ -337,6 +327,9 @@ Modify executable layout. @item -Wl,-Bsymbolic Set DT_SYMBOLIC tag. +@item -Wl,-(no-)whole-archive +Turn on/off linking of all objects in archives. + @end table Debugger options: @@ -370,6 +363,31 @@ Generate makefile fragment with dependencies. @item -MF depfile Use @file{depfile} as output for -MD. +@item -print-search-dirs +Print the configured installation directory and a list of library +and include directories tcc will search. + +@item -dumpversion +Print version. + +@end table + +Target specific options: + +@table @option +@item -mms-bitfields +Use an algorithm for bitfield alignment consistent with MSVC. Default is +gcc's algorithm. + +@item -mfloat-abi (ARM only) +Select the float ABI. Possible values: @code{softfp} and @code{hard} + +@item -mno-sse +Do not use sse registers on x86-64 + +@item -m32, -m64 +Pass command line to the i386/x86-64 cross compiler. + @end table Note: GCC options @option{-Ox}, @option{-fx} and @option{-mx} are |
