diff options
| author | Ginger Bill <bill@gingerbill.org> | 2016-11-22 00:13:52 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2016-11-22 00:13:52 +0000 |
| commit | 36ad9dae43cd21d8532994cd0d0e92a89af0ed04 (patch) | |
| tree | 2ab180093e4d5ac1e6ed39ed3b8ce5437255ffb5 /src/main.cpp | |
| parent | 24347ced45aabd3ce4f4a261b8140a976cadff2e (diff) | |
128 bit integers
Kind of works but may be buggy due to LLVM not actually sure
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 55b115a64..6fea6d583 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,8 +58,6 @@ i32 win32_exec_command_line_app(char *name, char *fmt, ...) { } } - - enum ArchKind { ArchKind_x64, ArchKind_x86, @@ -139,11 +137,12 @@ int main(int argc, char **argv) { usage(argv[0]); return 1; } - Parser parser = {0}; + // TODO(bill): prevent compiling without a linker timings_start_section(&timings, make_string("parse files")); + Parser parser = {0}; if (!init_parser(&parser)) { return 1; } @@ -244,8 +243,8 @@ int main(int argc, char **argv) { exit_code = win32_exec_command_line_app("msvc-link", "link %.*s.obj -OUT:%.*s.exe %s " "/defaultlib:libcmt " - "/nologo /incremental:no /opt:ref /subsystem:console " - "%.*s " + "/nologo /incremental:no /opt:ref /subsystem:console /debug " + " %.*s " "", LIT(output), LIT(output), lib_str, LIT(arch_data.link_flags)); |