new old winetests

Alexandre Julliard julliard at winehq.org
Thu Nov 27 14:28:20 CST 2003


Ferenc Wagner <wferi at afavant.elte.hu> writes:

> Has a problem, indeed:
> ../../include/wine/port.h:87: dlfcn.h: No such file or directory

That's because if you want to cross-compile you need to
cross-configure too. The crosstest stuff is a hack that works
because the tests don't use Wine-specific features, but it cannot
be generalized to the rest of the tree.

The right way to do it is to create two separate build trees, one in
which you compile normally and one in which you cross-compile.
Something like this (assuming your Wine source is in wine-src):

mkdir wine-elf; cd wine-elf
../wine-src/configure
make depend; make
cd ..
mkdir wine-pe; cd wine-pe
../wine-src/configure --host=i586-mingw32msvc --with-wine-tools=../wine-elf
make depend; make

(a few dlls won't build with mingw, you can just skip them).

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list