Rev 8157 | Rev 8272 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8157 | Rev 8250 | ||
---|---|---|---|
Line 138... | Line 138... | ||
138 | tcc_module = hDll; |
138 | tcc_module = hDll; |
139 | return TRUE; |
139 | return TRUE; |
140 | } |
140 | } |
141 | #endif |
141 | #endif |
142 | #else // _WIN32 |
142 | #else // _WIN32 |
143 | #ifdef TCC_TARGET_MEOS |
143 | #if defined TCC_TARGET_MEOS && ! TCC_TARGET_MEOS_LINUX |
144 | /* on Kolibri host, we suppose the lib and includes are at the location of 'tcc' /lib, /include */ |
144 | /* on Kolibri host, we suppose the lib and includes are at the location of 'tcc' /lib, /include */ |
145 | static void tcc_set_lib_path_kos(TCCState *s) |
145 | static void tcc_set_lib_path_kos(TCCState *s) |
146 | { |
146 | { |
147 | char** argv0 = (char**)0x20; // path in kolibri header |
147 | char** argv0 = (char**)0x20; // path in kolibri header |
148 | char path[1024], *p; |
148 | char path[1024], *p; |
Line 1090... | Line 1090... | ||
1090 | return NULL; |
1090 | return NULL; |
1091 | tcc_state = s; |
1091 | tcc_state = s; |
1092 | #ifdef _WIN32 |
1092 | #ifdef _WIN32 |
1093 | tcc_set_lib_path_w32(s); |
1093 | tcc_set_lib_path_w32(s); |
1094 | #else |
1094 | #else |
1095 | #ifdef TCC_TARGET_MEOS |
1095 | #if defined TCC_TARGET_MEOS && ! TCC_TARGET_MEOS_LINUX |
1096 | tcc_set_lib_path_kos(s); |
1096 | tcc_set_lib_path_kos(s); |
1097 | #else |
1097 | #else |
1098 | tcc_set_lib_path(s, CONFIG_TCCDIR); |
1098 | tcc_set_lib_path(s, CONFIG_TCCDIR); |
1099 | #endif |
1099 | #endif |
1100 | #endif |
1100 | #endif |