x86_64 added
This commit is contained in:
15
x86_64/README.md
Normal file
15
x86_64/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Build steps
|
||||
|
||||
## Assembling
|
||||
Assembling with NASM
|
||||
```bash
|
||||
nasm -g -f elf64 <file.asm>
|
||||
```
|
||||
- g = include debug info
|
||||
- f = file format (elf64 -> x64)
|
||||
|
||||
## Linking
|
||||
```bash
|
||||
ld <object-files> -o <executable-name> # Default
|
||||
gcc <object-files> -o <executable-name> # When using C library functions
|
||||
```
|
||||
Reference in New Issue
Block a user