2026-04-11 05:11 UTC
Good to know what “freestanding” and “hosted” standard library mean in C++:
“Freestanding Standard Library”, Sandor Dargo (https://www.sandordargo.com/blog/2026/04/08/cpp-freestanding).
Via HN: https://news.ycombinator.com/item?id=47686431
On Lobsters: https://lobste.rs/s/t7fe6r/freestanding_c_standard_library
#Programming #CPP #Embedded #OSDev #CPlusPlus
Replies (1)
-
@rmathew@mastodon.social 2026-04-11 05:13
Unfortunately, it stops short of telling you *how* to use a freestanding standard library. 🤦🏽♂️ (Use `-ffreestanding` with GCC or Clang.)