Use omagic flag (makes file MUCH smaller)
This commit is contained in:
parent
9d7ca2c519
commit
ca8cbc6f72
@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
if [ "$1" == "rot13.dbg" ]; then
|
||||
nasm -felf64 -g main.asm
|
||||
ld main.o -o rot13.dbg
|
||||
ld --omagic main.o -o rot13.dbg
|
||||
exit
|
||||
fi
|
||||
nasm -felf64 main.asm
|
||||
ld main.o -s -o rot13
|
||||
ld --omagic main.o -s -o rot13
|
||||
|
Loading…
x
Reference in New Issue
Block a user