Breakthrough! Can now crosscompile unit tests!
Jakob Eriksson
jakob at vmlinux.org
Sun May 12 13:32:56 CDT 2002
On Sat, May 11, 2002 at 08:18:49PM -0700, Alexandre Julliard wrote:
> OK I have hacked the makefiles to make cross-compilation
> possible. It's a bit tricky because some parts of Wine need to be
> compiled twice, since they are used both at compile-time and at
> run-time. The way to do it is:
>
> - create 3 empty directories: wine-src, wine-gcc, wine-mingw
>
> - put the full source in wine-src, making sure you don't have any
> binaries in there
>
> - in wine-gcc, do:
> ../wine-src/configure
> make depend
> make tools
>
> - then in wine-mingw do:
> ../wine-src/configure --host=i586-mingw32msvc --with-wine-tools=../wine-gcc
> make depend
> make
>
> This should build a full cross-compiled Wine. Of course most of it
> doesn't actually compile at this point, but fixing that is left as an
> exercise for the reader...
I couldn't make any of the unit tests compile...
but that's ok. Stand by for my master plan! :-)
--
regards,
Jakob Eriksson
The wages of sin
is debugging.
-- Ron Jeffries
More information about the wine-devel
mailing list