diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-19 05:27:45 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-19 05:27:45 +0100 |
| commit | 74ec6b99f60c48ece7cd03a9ef77178145774c24 (patch) | |
| tree | d4ff2232fe04cb4698dfec7d944acd9a5d685270 /public | |
| parent | 000c92f292800efb6b88ac12af1680ec29ba61c9 (diff) | |
ADD: A new placeholder program, 'cc'
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'public')
| -rw-r--r-- | public/tools/cc/.keep | 0 | ||||
| -rw-r--r-- | public/tools/cc/cc.json | 12 | ||||
| -rw-r--r-- | public/tools/cc/dist/.keep | 0 | ||||
| -rw-r--r-- | public/tools/cc/src/CommandLine.cc | 15 | ||||
| -rw-r--r-- | public/tools/ld/src/CommandLine.cc | 3 |
5 files changed, 28 insertions, 2 deletions
diff --git a/public/tools/cc/.keep b/public/tools/cc/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/public/tools/cc/.keep diff --git a/public/tools/cc/cc.json b/public/tools/cc/cc.json new file mode 100644 index 00000000..a81c1ed2 --- /dev/null +++ b/public/tools/cc/cc.json @@ -0,0 +1,12 @@ +{ + "compiler_path": "g++", + "compiler_std": "c++23", + "headers_path": ["./"], + "sources_path": ["src/CommandLine.cc"], + "output_name": "./dist/cc", + "cpp_macros": [ + "kCCVersion=0x0100", + "kCCVersionHighest=0x0100", + "kCCVersionLowest=0x0100" + ] +} diff --git a/public/tools/cc/dist/.keep b/public/tools/cc/dist/.keep new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/public/tools/cc/dist/.keep diff --git a/public/tools/cc/src/CommandLine.cc b/public/tools/cc/src/CommandLine.cc new file mode 100644 index 00000000..3efa5301 --- /dev/null +++ b/public/tools/cc/src/CommandLine.cc @@ -0,0 +1,15 @@ +/* + * Created on Thu Oct 17 08:00:42 CEST 2024 + * + * Copyright (c) 2024 Amlal EL Mahrouss + */ + +#include <LibSCI/SCI.h> + +/// @brief This program loads a program for NeOS. + +SInt32 main(SInt32 argc, Char* argv[]) +{ + ConOut(nullptr, "LD: OpenCC or GCC for Ne needs to be installed.\rLD: This program is present as a placeholder."); + return EXIT_FAILURE; +} diff --git a/public/tools/ld/src/CommandLine.cc b/public/tools/ld/src/CommandLine.cc index 6f2fc4a8..3efa5301 100644 --- a/public/tools/ld/src/CommandLine.cc +++ b/public/tools/ld/src/CommandLine.cc @@ -10,7 +10,6 @@ SInt32 main(SInt32 argc, Char* argv[]) { - ConOut(nullptr, "LD: Either OpenCC or Aker's CC needs to be installed.\rLD: This program is present as a placeholder."); - + ConOut(nullptr, "LD: OpenCC or GCC for Ne needs to be installed.\rLD: This program is present as a placeholder."); return EXIT_FAILURE; } |
