diff options
Diffstat (limited to 'CompilerFrontend')
| -rw-r--r-- | CompilerFrontend/cl/compiler.d | 10 | ||||
| -rw-r--r-- | CompilerFrontend/cl/main.d | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/CompilerFrontend/cl/compiler.d b/CompilerFrontend/cl/compiler.d index 77c9a9a..e9d2cc8 100644 --- a/CompilerFrontend/cl/compiler.d +++ b/CompilerFrontend/cl/compiler.d @@ -15,7 +15,7 @@ module mpcc.compiler; import std.stdio; -public void mcc_summon_executable(string path) +public void mpcc_summon_executable(string path) { import core.stdc.stdlib; import std.string; @@ -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 __BCCL__ 1 " ~ + mpcc_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,12 +89,12 @@ public class CompileCommand ext ~= ch; } - mcc_summon_executable("/usr/local/bin/bin/bccl --asm=masm -fmax-exceptions 20 --compiler=dolvik " ~ + mpcc_summon_executable("/usr/local/bin/bin/bccl --asm=masm -fmax-exceptions 20 --compiler=dolvik " ~ file ~ ".pp"); changed ~= ".64x"; - mcc_summon_executable("/usr/local/bin/bin/masm -m64000 " ~ changed); + mpcc_summon_executable("/usr/local/bin/bin/masm -m64000 " ~ changed); } if (compile_only) @@ -131,7 +131,7 @@ public class CompileCommand output_object ~= " -o "; output_object ~= output; - mcc_summon_executable("/usr/local/bin/bin/ld -m64000 " ~ + mpcc_summon_executable("/usr/local/bin/bin/ld -m64000 " ~ obj ~ output_object); } }
\ No newline at end of file diff --git a/CompilerFrontend/cl/main.d b/CompilerFrontend/cl/main.d index a2d5b41..aabc0ff 100644 --- a/CompilerFrontend/cl/main.d +++ b/CompilerFrontend/cl/main.d @@ -16,8 +16,8 @@ import mpcc.compiler; import std.container.dlist; ///Authors: Amlal EL Mahrouss -///Examples: mcc_summon_manual("foo"); -void mcc_summon_manual(string path) +///Examples: mpcc_summon_manual("foo"); +void mpcc_summon_manual(string path) { import core.stdc.stdlib; import std.string; @@ -55,14 +55,14 @@ void main(string[] args) } else if (arg == "--dialect") { - mcc_summon_executable("/usr/local/bin/bin/cc --asm=masm --compiler=dolvik --dialect"); + mpcc_summon_executable("/usr/local/bin/bin/cc --asm=masm --compiler=dolvik --dialect"); return; } else if (arg == "--help" || arg == "-h") { writeln("mpcc: summoning manual entry for mpcc..."); - mcc_summon_manual("mpcc"); + mpcc_summon_manual("mpcc"); return; } |
