diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-04 11:59:27 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-04 12:00:07 +0100 |
| commit | 6171a0adfacdc5834f2fc2a9d885ba3ef3cc15d8 (patch) | |
| tree | 5ee9aaa0c073b7929ff799f81f230cd9e98b453b /CompilerFrontend/cl | |
| parent | 4a6ac884b50b7103b41a39800d16ef785e365245 (diff) | |
tools: working on compiler installer.
mpcc: output .64x for 64x0 assembly.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerFrontend/cl')
| -rw-r--r-- | CompilerFrontend/cl/compiler.d | 4 | ||||
| -rw-r--r-- | CompilerFrontend/cl/main.d | 4 | ||||
| -rw-r--r-- | CompilerFrontend/cl/makefile | 7 |
3 files changed, 8 insertions, 7 deletions
diff --git a/CompilerFrontend/cl/compiler.d b/CompilerFrontend/cl/compiler.d index d343a75..23cfd22 100644 --- a/CompilerFrontend/cl/compiler.d +++ b/CompilerFrontend/cl/compiler.d @@ -7,7 +7,7 @@ * ======================================================== */ -module cl.compiler; +module mpcc.compiler; ///Authors: amlel ///Bugs: None @@ -84,7 +84,7 @@ public class CompileCommand changed ~= ch; } - changed ~= ".masm"; + changed ~= ".64x"; mcc_summon_executable("/usr/local/bin/bin/masm -m64000 " ~ changed); } diff --git a/CompilerFrontend/cl/main.d b/CompilerFrontend/cl/main.d index ef57284..5ac541b 100644 --- a/CompilerFrontend/cl/main.d +++ b/CompilerFrontend/cl/main.d @@ -10,9 +10,9 @@ // @file main.d // @brief CLI of the X64000 C/C++ compiler -module cl.main; +module mpcc.main; -import cl.compiler; +import mpcc.compiler; import std.container.dlist; ///Authors: Amlal EL Mahrouss diff --git a/CompilerFrontend/cl/makefile b/CompilerFrontend/cl/makefile index e40f46d..fb269a5 100644 --- a/CompilerFrontend/cl/makefile +++ b/CompilerFrontend/cl/makefile @@ -1,12 +1,13 @@ # # ======================================================== # - # C++Kit + # MP-UX C Compiler # Copyright Western Company, all rights reserved. # # ======================================================== # -.PHONY: mcc-build -mcc-build: +# build mpcc +.PHONY: mpcc-build +mpcc-build: dmd -I../ $(wildcard *.d) -ofmpcc
\ No newline at end of file |
