╭─────────────╮ │scroll to top│ ╰─────────────╯ ╭ bootstrap.c ──────────────────────────────────────────────────╮ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╰───────────────────────────────────────────────────────────────╯
╭ find file ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╮ ╭────╮ ╭ clone ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╮ │ │ │http│ ssh │ │ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─╯ ╰────╯ ╰ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ╯
209 print_and_run(child_argv); 210 } 211 212 { 213 const char *child_argv[] = { 214 "./zig1", "lib", "build-obj", 215 "-ofmt=c", "-OReleaseSmall", 216 "--name", "compiler_rt", "-femit-bin=compiler_rt.c", 217 "-target", host_triple, 218 "-Mroot=lib/compiler_rt.zig", 219 NULL, 220 }; 221 print_and_run(child_argv); 222 } 223 224 { 225 const char *child_argv[] = { 226 cc, "-o", "zig2", "zig2.c", "compiler_rt.c", 227 "-std=c99", "-O2", "-fno-stack-protector", 228 "-Istage1", 229 #if defined(__APPLE__) 230 "-Wl,-stack_size,0x10000000", 231 #else 232 "-Wl,-z,stack-size=0x10000000", 233 #endif 234 #if defined(__GNUC__) 235 "-pthread", 236 #endif 237 "-fno-strict-aliasing", 238 #if GCC_BUG_119085_PRESENT 239 "-fno-tree-sra", 240 #endif 241 #if GCC_BUG_94081_PRESENT 242 "-Wno-address-of-packed-member", 243 #endif 244 NULL, 245 }; 246 print_and_run(child_argv); 247 } 248 } 249