refactor: add architecture

This commit is contained in:
2026-10-02 13:32:40 +02:00
parent c4fb939e48
commit 387db2dcf7
11 changed files with 283 additions and 53 deletions
+122
View File
@@ -0,0 +1,122 @@
[
{
"file": "kernel/runtime.cpp",
"arguments": [
"/usr/bin/x86_64-elf-g++",
"-x",
"c++",
"-std=c++17",
"-Ikernel",
"-ffreestanding",
"-fno-exceptions",
"-fno-rtti",
"-fno-stack-protector",
"-fno-stack-check",
"-fno-threadsafe-statics",
"-fno-pic",
"-fno-pie",
"-fno-use-cxa-atexit",
"-mno-red-zone",
"-Wall",
"-Wextra",
"-Wpedantic",
"-O2",
"-c",
"kernel/runtime.cpp",
"-o",
"bin/runtime.o"
],
"directory": "/home/CeHaP/Dev/towos",
"output": "bin/runtime.o"
},
{
"file": "kernel/arch/x86_64/arch.cpp",
"arguments": [
"/usr/bin/x86_64-elf-g++",
"-x",
"c++",
"-std=c++17",
"-Ikernel",
"-ffreestanding",
"-fno-exceptions",
"-fno-rtti",
"-fno-stack-protector",
"-fno-stack-check",
"-fno-threadsafe-statics",
"-fno-pic",
"-fno-pie",
"-fno-use-cxa-atexit",
"-mno-red-zone",
"-Wall",
"-Wextra",
"-Wpedantic",
"-O2",
"-c",
"kernel/arch/x86_64/arch.cpp",
"-o",
"bin/arch/x86_64/arch.o"
],
"directory": "/home/CeHaP/Dev/towos",
"output": "bin/arch/x86_64/arch.o"
},
{
"file": "kernel/arch/x86_64/gdt.cpp",
"arguments": [
"/usr/bin/x86_64-elf-g++",
"-x",
"c++",
"-std=c++17",
"-Ikernel",
"-ffreestanding",
"-fno-exceptions",
"-fno-rtti",
"-fno-stack-protector",
"-fno-stack-check",
"-fno-threadsafe-statics",
"-fno-pic",
"-fno-pie",
"-fno-use-cxa-atexit",
"-mno-red-zone",
"-Wall",
"-Wextra",
"-Wpedantic",
"-O2",
"-c",
"kernel/arch/x86_64/gdt.cpp",
"-o",
"bin/arch/x86_64/gdt.o"
],
"directory": "/home/CeHaP/Dev/towos",
"output": "bin/arch/x86_64/gdt.o"
},
{
"file": "kernel/kmain.cpp",
"arguments": [
"/usr/bin/x86_64-elf-g++",
"-x",
"c++",
"-std=c++17",
"-Ikernel",
"-ffreestanding",
"-fno-exceptions",
"-fno-rtti",
"-fno-stack-protector",
"-fno-stack-check",
"-fno-threadsafe-statics",
"-fno-pic",
"-fno-pie",
"-fno-use-cxa-atexit",
"-mno-red-zone",
"-Wall",
"-Wextra",
"-Wpedantic",
"-O2",
"-c",
"kernel/kmain.cpp",
"-o",
"bin/kmain.o"
],
"directory": "/home/CeHaP/Dev/towos",
"output": "bin/kmain.o"
}
]