I want to build all the boost asio http server examples from:
https://github.com/boostorg/asio/tree/develop/example/cpp03/http
But catch is, I need to use c++03/98, single threaded without dependencies on std::thread, boost::thread or posix threads. I also need static linking to all the other boost libraries. Also want to compile with g++ -O3 -flto on x86_64 Linux. How can I build these examples like this?