From 6171a0adfacdc5834f2fc2a9d885ba3ef3cc15d8 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 4 Jan 2024 11:59:27 +0100 Subject: tools: working on compiler installer. mpcc: output .64x for 64x0 assembly. Signed-off-by: Amlal El Mahrouss --- CompilerFrontend/cl/compiler.d | 4 ++-- CompilerFrontend/cl/main.d | 4 ++-- CompilerFrontend/cl/makefile | 7 ++++--- 3 files changed, 8 insertions(+), 7 deletions(-) (limited to 'CompilerFrontend') 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 -- cgit v1.2.3