How to make sure that my program will be fully portable?
Making sure to only use libraries that actually exist on all target platforms would be a good start.