Cross compiling tests

Alexandre Julliard julliard at
Sat Apr 12 14:47:51 CDT 2003

Hans Leidekker <hans at> writes:

> Second major problem happens at the build stage. The Makefile for
> a test specifies -L$(DLLDIR) when linking the test executables, which
> is where the *Wine* libraries reside. I think this is wrong, we 
> should link against the target platform libraries (MinGW in this
> case) when cross compiling.

The problem is that Mingw doesn't include import libraries for all the
dlls we need, so some tests will fail to link. A better solution might
be to give priority to Mingw libraries while still falling back to the
Wine ones if needed.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list