I believe you should be able to port your program easily by following these steps:
1. Compile using MinGW on Windows. This will eliminate any non-standard code that GCC doesn't understand.
2. Use Winelib (part of Wine) to compile your application on Linux
3. Gradually replace parts of your program with Linux equivalents. E.g. Windows GUI -> GTK/QT
Use Wine
I believe you should be able to port your program easily by following these steps:
1. Compile using MinGW on Windows. This will eliminate any non-standard code that GCC doesn't understand.
2. Use Winelib (part of Wine) to compile your application on Linux
3. Gradually replace parts of your program with Linux equivalents. E.g. Windows GUI -> GTK/QT
Any questions, see http://www.winehq.org or send them to wine-devel@winehq.org
Rob
WHAT ?
>2. Use Winelib (part of Wine) to compile your application on Linux
whats f*ck you talking about ?
it is not too much problems to replace your only windows.h functions with analogues POSIX-like.
see Windows32 API and read more in MSDN.
window api
how to compile window program in linux?