summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-16 11:22:33 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-04-16 11:22:33 +0200
commit81047fcda15a6b1c68fc4de30cb25971f39a209c (patch)
tree9ad76657ad8ee4f1a62cda051a67ce782c371c79
parentf7d633a08d8459e1abfda6119679bbc6cc921628 (diff)
dev, cxxdrv: bump.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rw-r--r--dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc2
-rw-r--r--tools/cxxdrv.cc5
2 files changed, 4 insertions, 3 deletions
diff --git a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
index a184e45..1d309dd 100644
--- a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
+++ b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc
@@ -1003,7 +1003,7 @@ static void cxx_print_help()
".cpp", ".cxx", ".cc", ".c++", ".cp" \
}
-LIBCOMPILER_MODULE(CompilerCPlusPlusX8664)
+LIBCOMPILER_MODULE(CompilerCPlusPlusAMD64)
{
Boolean skip = false;
diff --git a/tools/cxxdrv.cc b/tools/cxxdrv.cc
index 500fd48..e5d6334 100644
--- a/tools/cxxdrv.cc
+++ b/tools/cxxdrv.cc
@@ -15,7 +15,7 @@
#include <vector>
LC_IMPORT_C int CPlusPlusPreprocessorMain(int argc, char const* argv[]);
-LC_IMPORT_C int CompilerCPlusPlusX8664(int argc, char const* argv[]);
+LC_IMPORT_C int CompilerCPlusPlusAMD64(int argc, char const* argv[]);
LC_IMPORT_C int AssemblerMainAMD64(int argc, char const* argv[]);
int main(int argc, char const* argv[])
@@ -40,6 +40,7 @@ int main(int argc, char const* argv[])
return LIBCOMPILER_EXEC_ERROR;
}
+
std::vector<std::string> args_list_cxx;
std::vector<std::string> args_list_asm;
@@ -73,7 +74,7 @@ int main(int argc, char const* argv[])
{
const char* arr_cli[] = {argv[0], cli.data()};
- if (auto code = CompilerCPlusPlusX8664(2, arr_cli);
+ if (auto code = CompilerCPlusPlusAMD64(2, arr_cli);
code > 0)
{
std::printf("cxxdrv: compiler exited with code %i.", code);