|
| 1 | +# AsmX G3 Compiler |
| 2 | + |
| 3 | +## Command Line Interface (CLI) Usage |
| 4 | + |
| 5 | +### Usage |
| 6 | + |
| 7 | +``` |
| 8 | +asmx [file] [options] |
| 9 | +``` |
| 10 | + |
| 11 | +### Example |
| 12 | + |
| 13 | +``` |
| 14 | +asmx main.asmx |
| 15 | +asmx main |
| 16 | +asmx main --release --march x86_64 -o index |
| 17 | +``` |
| 18 | + |
| 19 | +### Options |
| 20 | + |
| 21 | +| Option / Flag | Description | |
| 22 | +|-------------------------|--------------------------------------------------------------------| |
| 23 | +| `-h`, `--help` | Display this information | |
| 24 | +| `-v`, `--version` | Display the version number | |
| 25 | +| `--dumpversion` | Display the version of the compiler | |
| 26 | +| `--dumpmachine` | Display the compiler's target processor | |
| 27 | +| `--profiletime` | Enable the time profiler | |
| 28 | +| `--hinfo` | Hide confidential information | |
| 29 | +| `@file`, `--file file` | Specify the file for processing parameters | |
| 30 | +| `--llvm@version` | Display the LLVM version card | |
| 31 | +| `--llvm@dumpversion` | Display the LLVM version | |
| 32 | +| `--llvm@repository` | Display the LLVM repository | |
| 33 | + |
| 34 | +### Compilation Options |
| 35 | + |
| 36 | +| Option / Flag | Description | |
| 37 | +|-------------------------|--------------------------------------------------------------------| |
| 38 | +| `-r`, `--release` | Create an executable file | |
| 39 | +| `-o`, `--objname` | Set the output file name | |
| 40 | +| `-m`, `--march` | Specify the target CPU architecture (`x86_64`, `riscv`, `arm64`) | |
| 41 | + |
| 42 | +### Commands |
| 43 | + |
| 44 | +| Command | Description | |
| 45 | +|-------------------------|--------------------------------------------------------------------| |
| 46 | +| `--update` | Update AsmX compilation platform | |
| 47 | + |
0 commit comments