I'm Trying to port a program developed under windows to Linux.
My main question is regarding the header files.
is there any Linux library, that deals with this?
like the Linux version of tchar.h windows.h
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 firstname.lastname@example.org
>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.
how to compile window program in linux?