mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-10 23:09:18 +00:00
Kernel now compiles on x32
This commit is contained in:
8
.vscode/c_cpp_properties.json
vendored
8
.vscode/c_cpp_properties.json
vendored
@ -16,9 +16,11 @@
|
||||
"compilerPath": "/usr/bin/gcc",
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "c++20",
|
||||
"intelliSenseMode": "gcc-x64",
|
||||
"intelliSenseMode": "gcc-x86",
|
||||
"configurationProvider": "ms-vscode.makefile-tools",
|
||||
"compilerArgs": [
|
||||
"-m32",
|
||||
//"-mcmodel=kernel", /* 64-bit only */
|
||||
"-fno-rtti",
|
||||
"-fexceptions",
|
||||
"-fno-pic",
|
||||
@ -31,11 +33,13 @@
|
||||
"-mno-sse2",
|
||||
"-march=nehalem",
|
||||
"-pipe",
|
||||
"-mcmodel=kernel",
|
||||
"-msoft-float",
|
||||
"-fno-builtin",
|
||||
"-ffreestanding",
|
||||
"-nostdinc",
|
||||
"-Wl,-static,--no-dynamic-linker,-ztext",
|
||||
"-shared",
|
||||
"-zmax-page-size=0x1000",
|
||||
"-nostdinc++"
|
||||
]
|
||||
}
|
||||
|
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -3,7 +3,7 @@
|
||||
"C_Cpp.autocompleteAddParentheses": true,
|
||||
"C_Cpp.codeAnalysis.clangTidy.enabled": true,
|
||||
"C_Cpp.clang_format_style": "Visual Studio",
|
||||
"C_Cpp.default.intelliSenseMode": "gcc-x64",
|
||||
"C_Cpp.default.intelliSenseMode": "gcc-x86",
|
||||
"C_Cpp.default.cStandard": "c17",
|
||||
"C_Cpp.default.cppStandard": "c++20",
|
||||
"C_Cpp.intelliSenseMemoryLimit": 16384,
|
||||
|
Reference in New Issue
Block a user