diff options
Diffstat (limited to 'CompilerFrontend')
| -rw-r--r-- | CompilerFrontend/cl/.gitignore | 1 | ||||
| -rw-r--r-- | CompilerFrontend/cl/compiler.d | 14 | ||||
| -rw-r--r-- | CompilerFrontend/cl/man/mpcc.8 | 4 |
3 files changed, 6 insertions, 13 deletions
diff --git a/CompilerFrontend/cl/.gitignore b/CompilerFrontend/cl/.gitignore index 2641307..5d8c5e5 100644 --- a/CompilerFrontend/cl/.gitignore +++ b/CompilerFrontend/cl/.gitignore @@ -6,6 +6,7 @@ bin/masm bin/mkcdfs bin/ccplus bin/cppfront +bin/bccl test/*.cc test/*.64x *.c.pp diff --git a/CompilerFrontend/cl/compiler.d b/CompilerFrontend/cl/compiler.d index 5043b9e..77c9a9a 100644 --- a/CompilerFrontend/cl/compiler.d +++ b/CompilerFrontend/cl/compiler.d @@ -66,7 +66,7 @@ public class CompileCommand import std.datetime; - mcc_summon_executable("/usr/local/bin/bin/cpp --define __64x0__ 1 --define __LP64__ 1 --define __64000__ 1 --define __OPTIMIZED_C__ 1 " ~ + mcc_summon_executable("/usr/local/bin/bin/cpp --define __64x0__ 1 --define __LP64__ 1 --define __64000__ 1 --define __BCCL__ 1 " ~ "--define __FILE__ " ~ file ~ " --define __DATE__ " ~ Clock.currTime(UTC()).toString() ~ " " ~ " --working-dir ./ --include-dir " ~ includePath ~ " " ~ file); @@ -89,16 +89,8 @@ public class CompileCommand ext ~= ch; } - if (ext == ".cc") - { - mcc_summon_executable("/usr/local/bin/bin/ccplus --asm=masm -fmax-exceptions 20 --compiler=dolvik " ~ - file ~ ".pp"); - } - else - { - mcc_summon_executable("/usr/local/bin/bin/cc --asm=masm -fmax-exceptions 20 --compiler=dolvik " ~ - file ~ ".pp"); - } + mcc_summon_executable("/usr/local/bin/bin/bccl --asm=masm -fmax-exceptions 20 --compiler=dolvik " ~ + file ~ ".pp"); changed ~= ".64x"; diff --git a/CompilerFrontend/cl/man/mpcc.8 b/CompilerFrontend/cl/man/mpcc.8 index 4cf55d0..d362e5a 100644 --- a/CompilerFrontend/cl/man/mpcc.8 +++ b/CompilerFrontend/cl/man/mpcc.8 @@ -4,8 +4,8 @@ .Sh NAME .Nm mcc -.Nd Mahrouss Logic C/C++ Compiler +.Nd Mahrouss Logic BCCL/C++ Compiler .Sh DESCRIPTION -This program compiles C/C++ sources into MP-UX Preferred Executable Format.
\ No newline at end of file +This program compiles BCCL/C++ sources into MP-UX Preferred Executable Format.
\ No newline at end of file |
