diff options
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -47,6 +47,7 @@ static void help(void) " -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" + " -dD put a define directive in the output (inside a comment)\n" "Linker options:\n" " -Ldir add library path 'dir'\n" " -llib link with dynamic or static library 'lib'\n" @@ -307,6 +308,8 @@ int main(int argc, char **argv) start_time = getclock_us(); tcc_set_output_type(s, s->output_type); + if (s->output_type == TCC_OUTPUT_PREPROCESS) + print_defines(); /* compile or add each files or library */ for(i = ret = 0; i < s->nb_files && ret == 0; i++) { |
