bi-arch on an amd64

Alex Woods wine-devel at
Mon Feb 7 06:02:37 CST 2005


I too am trying to compile a working multilib wine.  I have got a little
further, and actually have a binary that doesn't produce any errors now.
Unfortunately, it doesn't seem to do anything at all, and just returns
me to the command line with an exit status of 2.  I've yet to dig into
that one.

For reference, I am using gentoo with a multilib gcc, applying the
attached patch and then running this sequence of commands:

./configure --x-libraries=/emul/linux/x86/usr/X11R6/lib
make depend && make

The small patch I've attached fixes the two problems I came across -
one already mentioned by Gabriel de Perthuis.  That problem appears to
be one of a deprecated? syscall.  The other problem is that configure
was not detecting x86_64 as being an x86 and hence not building the
wine-preloader which is why Gabriel was getting his strange 'wine: could
not exec \uffff\uffffmU\uffff\uffffmUp/bin/wine-pthread' message.
Should I send the patch to wine-patches also?  Or can it make its way
into CVS from here?

I'm going to see if I can track down which exit(2) I'm hitting now.  I'm
new to the wine source code, so any suggestions are welcome.


More information about the wine-devel mailing list