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 /CompilerTools/install.d | |
| 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 'CompilerTools/install.d')
| -rw-r--r-- | CompilerTools/install.d | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/CompilerTools/install.d b/CompilerTools/install.d new file mode 100644 index 0000000..3770eaf --- /dev/null +++ b/CompilerTools/install.d @@ -0,0 +1,35 @@ +/* + * ======================================================== + * + * MP-UX C Compiler + * Copyright Western Company, all rights reserved. + * + * ======================================================== + */ + +module mpcc.install; + +///Author: amlel +///This helps install the mp-ux toolchain. +class InstallFactory +{ + this(string where, string from) + { + import std; + import std.file; + + try + { + from.copy(where); + } + catch(Exception e) + { + writeln("install.d: error: ", e.msg); + } + } +} + +void main(string[] args) +{ + auto factory = new InstallFactory(args[1], args[2]); +} |
