Here is a sample code: Code: #include <iostream> #include <cstdlib> #include <wine/msvcrt/conio.h> int main() { std::cout << "Press something...\n"; getch(); return EXIT_SUCCESS; } and here is the compile log: (two things are translated from polish so may differ a bit but meaning is the same) Code: szczerb at nomad ~/projekty/wine/temp $ make wineg++ -c -o main.o main.cpp In file included from main.cpp:3: /usr/include/wine/msvcrt/conio.h:11:21: error: crtdefs.h: no such file or directory winegcc: g++ failed make: *** [main.o] error 2 and the file is there: Code: szczerb at nomad ~/projekty/wine/temp $ slocate crtdefs.h /usr/include/wine/msvcrt/crtdefs.h Any ideas on that one? ;]
I just set up crosscompilation with mingw (in Gentoo it's as easy as 'emerge crossdev && crossdev -t i686-mingw32') and it seems to just work. Still, it would be great if someone here would tell me if I did something really wrong or if I should file a bug report.