See Unified UNIX Specification . If you make only the assumptions given in the man pages provided by OpenGroup in your Single UNIX specification, then your code should work on all UNIX-compatible OSs.
If you use my development / coding search engine , it is highly biased in favor of sources from the Unified UNIX Specification and clicks on “Unified UNIX Specification” to limit the search to this source. While you are limited to the guarantees provided by the specification, then it should work on all UNIX variants.
I should also note that if you further restrict the use of only functions provided by the ISO C ++ standard, Boost C ++ and WxWidgets libraries, then you can target not only all UNIX variants, but also Windows. However, if you need to target UNIX, then any of the system interfaces in the Single UNIX specification, as indicated in it, should be safe to use.
Regarding the development environment, I would recommend that you install a copy of Ubuntu Linux on VirtualBox , since setting up a development environment on this particular Linux distribution is as simple as a single call to sudo apt-get install , and Linux is de facto UNIX compatible. The only sudo apt-get install build-essential pkg-config g++ automake autoconf cmake doxygen libboost1.40-dev libwxgtk2.8-dev enough to get a fully working C ++ development environment on Ubuntu with WxWidgets and installed Boost C ++ libraries .
Michael Aaron Safyan
source share