I would recommend writing in C ++ 11. It is more modern, has great support on the Internet, and you can even compile everything with Cmake. There are many tools to help you with this. My company uses this to develop a framework that compiles on the following platforms:
iOS, Mac OS X, Android (ARM, x86, x64), Windows (x86, x64), Linux (x86, x64)
You can also find a tool here to help you with cross-toolchains so that the code you compile is easily prepared for multiple platforms: https://github.com/ruslo/polly
source share