diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index ea6e5d408..71caca95e 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -1,13 +1,12 @@ { "configurations": [ { - "name": "Linux", + "name": "Win32", "includePath": [ "${workspaceFolder}" ], "cStandard": "c11", "cppStandard": "c++11", - "compilerPath": "${workspaceFolder}/o/third_party/gcc/bin/x86_64-linux-musl-gcc", "forcedInclude": ["${workspaceFolder}/.vscode/vscode.h"], "defines": [ "libcesque=", @@ -63,7 +62,53 @@ "attributeallocalign(x)=", "nullterminated(x)=" ] + }, + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}" + ], + "cStandard": "c11", + "cppStandard": "c++11", + "compilerPath": "${workspaceFolder}/o/third_party/gcc/bin/x86_64-linux-musl-gcc", + "compilerArgs": [ + "-Wall", + "-Werror", + "-fdebug-prefix-map=${workspaceFolder}=", + "-frecord-gcc-switches", + "-Wa,-W", + "-Wa,-I.", + "-Wa,--noexecstack", + "-Wa,--nocompress-debug-sections", + "-Og", + "-g", + "-gdescribe-dies", + "-msse3", + "-mno-red-zone", + "-fno-math-errno", + "-fno-trapping-math", + "-fno-fp-int-builtin-inexact", + "-fno-ident", + "-fno-common", + "-fno-gnu-unique", + "-fstrict-aliasing", + "-fstrict-overflow", + "-fno-semantic-interposition", + "-mno-omit-leaf-frame-pointer", + "-std=gnu2x", + "-fno-jump-tables", + "-nostdinc", + "-iquote." + ], + "forcedInclude": [ + "libc/integral/normalize.inc" + ], + "defines": [ + "COSMO", + "MODE=", + "IMAGE_BASE_VIRTUAL=0x400000" + ] } ], "version": 4 -} +} \ No newline at end of file