An open API service indexing awesome lists of open source software.

https://github.com/x0reaxeax/tiny_helloworld

Tiniest "Hello World" ELF executable in C - 113 bytes (i386), 150 bytes (x86_64)
https://github.com/x0reaxeax/tiny_helloworld

elf elf64 i386-elf small-binary smallest-size sstrip tcc

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://bellard.org/tcc/)
**Linker:** [GNU Linker](https://linux.die.net/man/1/ld)
**Object stripper:** [ELFkickers' `sstrip`](https://github.com/BR903/ELFkickers)

## Building
**i386**: `make main32`
**x86_64**: `make main64`

## Results
**ELF_i386:** 113 bytes
**ELF_x86_64:** 150 bytes

> Written with [StackEdit](https://stackedit.io/).