Am 17.07.2008 um 11:21 schrieb Chris Robinson:
The cross-compiler comes with win32 import/static libs. Since MinGW is a Windows port of GCC (and the cross-compiler is basically a port back), the libs it comes with are native Windows. The -L switches, however, point the compiler to Wine's ELF libs, which the native .exe it produces doesn't understand.
This makes sense. Thanks for the explanation.
I guess I'll have to set up a virtual machine running the real thing. There are so many levels of abstraction (64-bit Ubuntu -> 32-bit app, Linux environment -> Windows libraries, Linux build platform -> Windows binaries), making my setup pretty fragile.
64-bit Linux should run 32-bit Windows binaries fine with Wine. OpenGL apps, too. Of course you'll need the 32-bit Linux libs installed for Wine to use, however.
I'm hunting for a few of the differences between "should" and "does" and try to catch them with test cases. See bug #10490.
MarKus
- - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/