Cosmopolitan Libc makes C a build-once run-anywhere language, like Java, except it doesn't need an interpreter or virtual machine. Instead, it reconfigures stock GCC and Clang to output a POSIX-approved polyglot format that runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS with the best possible performance and the tiniest footprint imaginable. Cosmopolitan can be compiled from source on any Linux distro. GNU make needs to be installed beforehand. This is a freestanding hermetic repository that bootstraps using a vendored static gcc9 executable. ...
Useful crossplatform library for distributed systems
Platform-Independent Primitives. Contain string, thread, timer, file, config file, serial port, ethernet (UDP, TCP, broadcast, multicast), protocol, multiprotocol, peer, console, variable, struct, evaluator, system monitor (Linux only), CLI (command-line interface) parser.
Package include library that you can build with 'qmake' or 'CMake' and test program in 'main.cpp'.
Online documentation: http://ppip.sourceforge.net/doc/
STALLioN is a cross-platform C/C++ I/O library for CLI applications
...It aims to provide a consistent development API across multiple platforms so that
separate code does not have to be created for each (often very different)
terminal interface; simply use the functions in STALLioN and compile with the
correct library for the chosen platform.
Currently in very early development; most basic functions and output are done, input is coming together.
It is licensed under the GPLv3 license, so is free software.