Hatena::ブログ(Diary)

菊やんの雑記帳

2006-11-09 ELF golf

[] x86への愛は足りてますか? 20:54  x86への愛は足りてますか?を含むブックマーク

kik@as305:~/work/codegolf/hello$ make
nasm -o small-hello.bin small-hello.asm && chmod +x small-hello.bin
kik@as305:~/work/codegolf/hello$ ls -l small-hello.bin
-rwxr-xr-x  1 kik users 63 2006-11-09 21:12 small-hello.bin
kik@as305:~/work/codegolf/hello$ file small-hello.bin
small-hello.bin: ELF
kik@as305:~/work/codegolf/hello$ ./small-hello.bin 
Hello, world!
kik@as305:~/work/codegolf/hello$ echo $?
0
kik@as305:~/work/codegolf/hello$