From eb7f40b000b0b1dc4605113f3f2d7e87003d6d43 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 26 Nov 2025 19:46:58 +0100 Subject: chore: fix compile_flags.txt and codebase choring. Signed-off-by: Amlal El Mahrouss --- compile_flags.txt | 8 ++++---- docs/md/SPECIFICATION_CC.md | 23 ----------------------- docs/md/SPECIFICATION_COMPILERKIT.md | 23 +++++++++++++++++++++++ src/CompilerKit/src/Frontend/CCompiler64x0.cc | 2 +- src/CompilerKit/src/Frontend/CCompilerARM64.cc | 2 +- src/CompilerKit/src/Linker/DynamicLinker64PEF.cc | 4 ++-- tools/cppdrv.cc | 2 +- tools/dbg.cc | 2 +- tools/pef-amd64-cxxdrv.cc | 2 +- tools/pef-arm64-cdrv.cc | 2 +- 10 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 docs/md/SPECIFICATION_CC.md create mode 100644 docs/md/SPECIFICATION_COMPILERKIT.md diff --git a/compile_flags.txt b/compile_flags.txt index 2583106..b40bbf0 100644 --- a/compile_flags.txt +++ b/compile_flags.txt @@ -1,8 +1,8 @@ -std=c++20 --Idev/ --Idev/src/ --Idev/CompilerKit/Detail --Isdk/ +-Isrc/ +-Isrc/src/ +-Isrc/CompilerKit/Detail +-Ivendor/ -I./ -DCK_USE_STRUCTS -xc++ diff --git a/docs/md/SPECIFICATION_CC.md b/docs/md/SPECIFICATION_CC.md deleted file mode 100644 index 681cfde..0000000 --- a/docs/md/SPECIFICATION_CC.md +++ /dev/null @@ -1,23 +0,0 @@ -# Specification of CompilerKit - -=================================== - -# 0: General Information - -=================================== -- Output format: PEF, XCOFF -- Object format: AE, COFF -- SDK Language: C++ - -=================================== - -# 1: CompilerKit - -=================================== - -- Shall support compilation, assembling and linking. -- Shall be written in C++ -- Shall support the assembler too. -- Shall provide primitives for compilers, assemblers and linkers. -- Shall support multiple architectures. -- Shall have a debugger. \ No newline at end of file diff --git a/docs/md/SPECIFICATION_COMPILERKIT.md b/docs/md/SPECIFICATION_COMPILERKIT.md new file mode 100644 index 0000000..681cfde --- /dev/null +++ b/docs/md/SPECIFICATION_COMPILERKIT.md @@ -0,0 +1,23 @@ +# Specification of CompilerKit + +=================================== + +# 0: General Information + +=================================== +- Output format: PEF, XCOFF +- Object format: AE, COFF +- SDK Language: C++ + +=================================== + +# 1: CompilerKit + +=================================== + +- Shall support compilation, assembling and linking. +- Shall be written in C++ +- Shall support the assembler too. +- Shall provide primitives for compilers, assemblers and linkers. +- Shall support multiple architectures. +- Shall have a debugger. \ No newline at end of file diff --git a/src/CompilerKit/src/Frontend/CCompiler64x0.cc b/src/CompilerKit/src/Frontend/CCompiler64x0.cc index f07fcb0..bed4ddd 100644 --- a/src/CompilerKit/src/Frontend/CCompiler64x0.cc +++ b/src/CompilerKit/src/Frontend/CCompiler64x0.cc @@ -1188,7 +1188,7 @@ class AssemblyCCInterface final CK_ASSEMBLY_INTERFACE { #include #define kPrintF printf -#define kSplashCxx() kPrintF(kWhite "NE C Driver, %s, (c) Amlal El Mahrouss\n", kDistVersion) +#define kSplashCxx() kPrintF(kWhite "NeCTI C Driver, %s, (c) Amlal El Mahrouss\n", kDistVersion) static void cc_print_help() { kSplashCxx(); diff --git a/src/CompilerKit/src/Frontend/CCompilerARM64.cc b/src/CompilerKit/src/Frontend/CCompilerARM64.cc index c5b1fb8..ea39a31 100644 --- a/src/CompilerKit/src/Frontend/CCompilerARM64.cc +++ b/src/CompilerKit/src/Frontend/CCompilerARM64.cc @@ -1187,7 +1187,7 @@ class AssemblyCCInterface final CK_ASSEMBLY_INTERFACE { #include #define kPrintF printf -#define kSplashCxx() kPrintF(kWhite "NE C Driver, %s, (c) Amlal El Mahrouss\n", kDistVersion) +#define kSplashCxx() kPrintF(kWhite "NeCTI C Driver, %s, (c) Amlal El Mahrouss\n", kDistVersion) static void cc_print_help() { kSplashCxx(); diff --git a/src/CompilerKit/src/Linker/DynamicLinker64PEF.cc b/src/CompilerKit/src/Linker/DynamicLinker64PEF.cc index 8a503ed..176a608 100644 --- a/src/CompilerKit/src/Linker/DynamicLinker64PEF.cc +++ b/src/CompilerKit/src/Linker/DynamicLinker64PEF.cc @@ -67,8 +67,8 @@ static CompilerKit::STLString kLinkerStart = kPefStart; static std::vector kObjectList; static std::vector kObjectBytes; -/// @brief NE 64-bit Linker. -/// @note This linker is made for PEF executable, thus NE based OSes. +/// @brief NeCTI 64-bit Linker. +/// @note This linker is made for PEF executable, thus NeCTI based OSes. NECTI_MODULE(DynamicLinker64PEF) { bool is_executable = true; diff --git a/tools/cppdrv.cc b/tools/cppdrv.cc index 4d6f7cf..2cccf2b 100644 --- a/tools/cppdrv.cc +++ b/tools/cppdrv.cc @@ -5,7 +5,7 @@ ======================================== */ /// @file cxxdrv.cc -/// @brief NE frontend preprocessor. +/// @brief NeCTI frontend preprocessor. #include #include diff --git a/tools/dbg.cc b/tools/dbg.cc index 854351e..a54c59e 100644 --- a/tools/dbg.cc +++ b/tools/dbg.cc @@ -7,7 +7,7 @@ #include /// @file dbg.cc -/// @brief NE debugger. +/// @brief NeCTI debugger. CK_IMPORT_C Int32 DebuggerMachPOSIX(Int32 argc, Char const* argv[]); diff --git a/tools/pef-amd64-cxxdrv.cc b/tools/pef-amd64-cxxdrv.cc index e1187e8..3fc41fe 100644 --- a/tools/pef-amd64-cxxdrv.cc +++ b/tools/pef-amd64-cxxdrv.cc @@ -5,7 +5,7 @@ ======================================== */ /// @file cxxdrv.cc -/// @brief NE C++ frontend compiler. +/// @brief NeCTI C++ frontend compiler. #include #include diff --git a/tools/pef-arm64-cdrv.cc b/tools/pef-arm64-cdrv.cc index b7d8ed1..0a4a9af 100644 --- a/tools/pef-arm64-cdrv.cc +++ b/tools/pef-arm64-cdrv.cc @@ -5,7 +5,7 @@ ======================================== */ /// @file cxxdrv.cc -/// @brief NE C++ frontend compiler. +/// @brief NeCTI C++ frontend compiler. #include #include -- cgit v1.2.3