Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2024 (2)
20082026
  1. 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
  2. …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)
  3. 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
  4. …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.