| ... | ... | @@ -146,8 +146,19 @@ int stage2_cmd_targets(const char *zig_triple) { |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | 148 | enum Error stage2_libc_parse(struct Stage2LibCInstallation *libc, const char *libc_file) { |
| 149 | | const char *msg = "stage0 called stage2_libc_parse"; |
| 150 | | stage2_panic(msg, strlen(msg)); |
| 149 | libc->include_dir = "/dummy/include"; |
| 150 | libc->include_dir_len = strlen(libc->include_dir); |
| 151 | libc->sys_include_dir = "/dummy/sys/include"; |
| 152 | libc->sys_include_dir_len = strlen(libc->sys_include_dir); |
| 153 | libc->crt_dir = ""; |
| 154 | libc->crt_dir_len = strlen(libc->crt_dir); |
| 155 | libc->static_crt_dir = ""; |
| 156 | libc->static_crt_dir_len = strlen(libc->static_crt_dir); |
| 157 | libc->msvc_lib_dir = ""; |
| 158 | libc->msvc_lib_dir_len = strlen(libc->msvc_lib_dir); |
| 159 | libc->kernel32_lib_dir = ""; |
| 160 | libc->kernel32_lib_dir_len = strlen(libc->kernel32_lib_dir); |
| 161 | return ErrorNone; |
| 151 | 162 | } |
| 152 | 163 | |
| 153 | 164 | enum Error stage2_libc_render(struct Stage2LibCInstallation *self, FILE *file) { |