split cross libtcc1.a to separate directories

This commit is contained in:
Henry Kroll III
2010-12-02 03:08:57 -08:00
parent 03b23994f1
commit a2779556b4
4 changed files with 181 additions and 118 deletions

View File

@ -1770,14 +1770,7 @@ static void pe_add_runtime_ex(TCCState *s1, struct pe_info *pe)
if (0 == s1->nostdlib) {
static const char *libs[] = {
#if defined(TCC_TARGET_X86_64)
"tcc1-win64",
#elif defined(TCC_TARGET_I386)
"tcc1-win32",
#else
"tcc1",
#endif
"msvcrt", "kernel32", "", "user32", "gdi32", NULL
"tcc1", "msvcrt", "kernel32", "", "user32", "gdi32", NULL
};
const char **pp, *p;
for (pp = libs; 0 != (p = *pp); ++pp) {