diff options
| author | seyko <seyko2@gmail.com> | 2015-03-03 14:19:14 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-03 14:19:14 +0300 |
| commit | 50cdccf3efaa13dd11d1533b73fb34e0429d5cd6 (patch) | |
| tree | 0239fe1588a10cc4d70c80a2e2aba9f1ca185f4a /tcc.c | |
| parent | 40418f87c7da9d3358363769fb13c558b43f2847 (diff) | |
| download | tinycc-50cdccf3efaa13dd11d1533b73fb34e0429d5cd6.tar.gz tinycc-50cdccf3efaa13dd11d1533b73fb34e0429d5cd6.tar.bz2 | |
Added a gcc preprocessor options -P, -P1
tcc -E -P
do not output a #line directive, a gcc compatible option
tcc -E -P1
don't follow a gcc preprocessor style and do output a standard
#line directive. In such case we don't lose a location info when
we going to compile a resulting file wtith a compiler not
understanding a gnu style line info.
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -45,6 +45,8 @@ static void help(void) " -Idir add include path 'dir'\n" " -Dsym[=val] define 'sym' with value 'val'\n" " -Usym undefine 'sym'\n" + " -P do not output a #line directive\n" + " -P1 use a #line directive in output instead of the gcc style\n" "Linker options:\n" " -Ldir add library path 'dir'\n" " -llib link with dynamic or static library 'lib'\n" |
