/tiny_helloworld

Tiniest "Hello World" ELF executable in C - 113 bytes (i386), 150 bytes (x86_64)

Primary LanguageC

Tiny "Hello World"

Smallest "Hello World" ELF executable I was able to produce without the use of any external assembler.

Tools used

C compiler: Tiny C Compiler
Linker: GNU Linker
Object stripper: ELFkickers' sstrip

Building

i386: make main32
x86_64: make main64

Results

ELF_i386: 113 bytes
ELF_x86_64: 150 bytes

Written with StackEdit.