Kernel now compiles on x32

This commit is contained in:
Alex
2022-11-14 14:54:18 +02:00
parent 042bce48a0
commit cabdc5263e
27 changed files with 803 additions and 19 deletions

View File

@ -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++"
]
}