mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-11 06:47:15 +00:00
Update cheatsheets
This commit is contained in:
25
adscript
Normal file
25
adscript
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# adscript
|
||||
|
||||
> Compiler for Adscript files.
|
||||
> More information: <https://github.com/Amplus2/Adscript>.
|
||||
|
||||
- Compile a file to an object file:
|
||||
|
||||
`adscript --output {{path/to/file.o}} {{path/to/input_file.adscript}}`
|
||||
|
||||
- Compile and link a file to a standalone executable:
|
||||
|
||||
`adscript --executable --output {{path/to/file}} {{path/to/input_file.adscript}}`
|
||||
|
||||
- Compile a file to LLVM IR instead of native machine code:
|
||||
|
||||
`adscript --llvm-ir --output {{path/to/file.ll}} {{path/to/input_file.adscript}}`
|
||||
|
||||
- Cross-compile a file to an object file for a foreign CPU architecture or operating system:
|
||||
|
||||
`adscript --target-triple {{i386-linux-elf}} --output {{path/to/file.o}} {{path/to/input_file.adscript}}`
|
||||
Reference in New Issue
Block a user