diff options
| author | bellard <bellard> | 2002-08-18 13:24:19 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2002-08-18 13:24:19 +0000 |
| commit | 796866862f43c7f96d5356a8f30f4c5118f03302 (patch) | |
| tree | 53850b77731405225d006c08e051adfe738055c1 /tcc-doc.texi | |
| parent | f5b9220b60b353494bb137c095ae55ffb6d01db5 (diff) | |
| download | tinycc-796866862f43c7f96d5356a8f30f4c5118f03302.tar.gz tinycc-796866862f43c7f96d5356a8f30f4c5118f03302.tar.bz2 | |
updated
Diffstat (limited to 'tcc-doc.texi')
| -rw-r--r-- | tcc-doc.texi | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/tcc-doc.texi b/tcc-doc.texi index 8fccadb..df50133 100644 --- a/tcc-doc.texi +++ b/tcc-doc.texi @@ -101,7 +101,7 @@ Put object file, executable, or dll into output file @file{outfile}. @item -Bdir Set the path where the tcc internal libraries can be found (default is -@code{prefix}@file{/lib/tcc}. +@file{PREFIX/lib/tcc}). @item -bench Output compilation statistics. @@ -111,10 +111,13 @@ Preprocessor options: @table @samp @item -Idir -Specify an additionnal include path. The default ones are: -@file{/usr/local/include}, @code{prefix}@file{/lib/tcc/include} and -@file{/usr/include} (@code{prefix} is usually @file{/usr} or -@file{/usr/local}). +Specify an additionnal include path. Include paths are searched in the +order they are specified. + +System include paths are always searched after. The default system +include paths are: @file{/usr/local/include}, @file{/usr/include} +and @file{PREFIX/lib/tcc/include}. (@code{PREFIX} is usually +@file{/usr} or @file{/usr/local}). @item -Dsym[=val] Define preprocessor symbol 'sym' to @@ -332,23 +335,20 @@ TCC can directly output relocatable ELF files (object files), executable ELF files and dynamic ELF libraries without relying on an external linker. -Dynamic ELF libraries are not working correctly yet because the C -compiler does not generate position independant code (PIC) code. +Dynamic ELF libraries can be output but the C compiler does not generate +position independant code (PIC) code. It means that the dynamic librairy +code generated by TCC cannot be factorized among processes yet. TCC linker cannot currently suppress unused object code. But TCC will soon integrate a novel feature not found in GNU tools: unused code will be suppressed at the function or variable level, provided you only use TCC to compile your files. -ELF symbol hash table is currently fixed. - @section ELF file loader TCC can load ELF object files, archives (.a files) and dynamic libraries (.so). -Currently, the @code{stabs} debug information is not relocated. - @section GNU Linker Scripts Because on many Linux systems some dynamic libraries (such as @@ -564,9 +564,6 @@ for the macros (@code{#define}s). @item global_stack for the global variables, functions and types. -@item extern_stack -for the external symbols shared between files. - @item local_stack for the local variables, functions and types. |
