diff options
| author | Steven G. Messervey <nuke48386@yahoo.com> | 2015-04-15 17:00:26 -0400 |
|---|---|---|
| committer | Steven G. Messervey <nuke48386@yahoo.com> | 2015-04-15 17:00:26 -0400 |
| commit | 8615bb40fb39bf7435462ca54cbbc24aaecae502 (patch) | |
| tree | 8bf391abadfa52b544275975c63741289c367738 /tcc.c | |
| parent | a13f183e4c2c4b4d1d40e142b57a4298672dfd2c (diff) | |
| download | tinycc-8615bb40fb39bf7435462ca54cbbc24aaecae502.tar.gz tinycc-8615bb40fb39bf7435462ca54cbbc24aaecae502.tar.bz2 | |
implement #pragma comment(lib,...)
Diffstat (limited to 'tcc.c')
| -rw-r--r-- | tcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -265,7 +265,7 @@ int main(int argc, char **argv) } if (s->output_type == 0) - s->output_type = TCC_OUTPUT_EXE; + s->output_type = TCC_OUTPUT_EXE; if (s->option_m) exec_other_tcc(s, argv, s->option_m); @@ -317,7 +317,7 @@ int main(int argc, char **argv) const char *filename = s->files[i] + 1; if (filename[0] == '-' && filename[1] == 'l') { if (tcc_add_library(s, filename + 2) < 0) { - tcc_error_noabort("cannot find '%s'", filename); + tcc_error_noabort("cannot find '%s'", filename+2); ret = 1; } } else { |
