How to port c++ program to linux using winelib