pts/minilibc686
View on GitHub ↗ ★ 29 C
libc and tools for creating size-optimized, statically linked Linux i386 and i686 programs
4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2024-09-01 · latest 2025-02-20
20082026
-
My https://github.com/pts/minilibc686 can do printf-hello-world on i386 in less than 1 KiB. write-hello-world is less than 170 bytes.
comment by ptspts · 2025-02-20 · in 1972 Unix V2 "Beta" Resurrected -
…plug: write your program in C, get almost as little size overhead as in the Whirlwind turorial: https://github.com/pts/minilibc686 (libc, compiler, linker, settings)
comment by ptspts · 2025-02-08 · in A whirlwind tutorial on creating teensy ELF executables for Linux (1999) -
For 32-bit x86 (i386 and i686), I've written a libc and a toolchain to.automate this: https://github.com/pts/minilibc686 . It can use mainstream free C compilers (GCC, Clang, OpenWatcom cc386, TinyCC and PCC) and assemblers (GNU as and…
comment by ptspts · 2024-12-26 · in A Simple ELF -
…is possible with an executable size of 1008 bytes, including libc with output buffering: https://github.com/pts/minilibc686 Please note that a direct comparison would be apples-to-oranges though.
comment by ptspts · 2024-09-01 · in Honey, I shrunk {fmt}: bringing binary size to 14k and ditching the C++ runtime