[ Eray Ozkural writes ] > > How to make everything quite portable? > > That's part of configuration. autoconf and friends help > you do that. No, that's part of sticking to documented standards that cover the most platforms of interest. May I suggest "The Single Unix Specification", aka X/Open, aka "The Open Group". http://www.opengroup.org/onlinepubs/7908799/toc.htm