wow it now reads one char!!!
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
set -ex
|
||||
|
||||
mkdir -p tmp bin
|
||||
|
||||
echo "compiling true"
|
||||
nasm -f elf64 -o tmp/true.o src/true/true.asm
|
||||
ld -s --nmagic -o bin/true tmp/true.o
|
||||
@@ -10,7 +12,12 @@ 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
|
||||
echo "compiling rd"
|
||||
nasm -f elf64 -o tmp/rd.o src/rd/rd.asm
|
||||
ld -s -o bin/rd tmp/rd.o
|
||||
ls -l bin/rd
|
||||
|
||||
echo "compiling txt"
|
||||
nasm -f elf64 -o tmp/txt.o src/txt/txt.asm
|
||||
ld -s -o bin/txt tmp/txt.o
|
||||
ls -l bin/txt
|
||||
Reference in New Issue
Block a user