added basic shit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
set -ex
|
||||
|
||||
echo "compiling true"
|
||||
nasm -f elf64 -o tmp/true.o src/true/true.asm
|
||||
ld -s --nmagic -o bin/true tmp/true.o
|
||||
ls -l bin/true
|
||||
|
||||
echo "compiling false"
|
||||
nasm -f elf64 -o tmp/false.o src/false/false.asm
|
||||
ld -s --nmagic -o bin/false tmp/false.o
|
||||
ls -l bin/false
|
||||
|
||||
echo "compiling cat"
|
||||
nasm -f elf64 -o tmp/cat.o src/cat/cat.asm
|
||||
ld -s -o bin/cat tmp/cat.o
|
||||
ls -l bin/cat
|
||||
Reference in New Issue
Block a user