Hi all,
I build Wine64 using the instructions here:
While I expected it to not work with my Win64 program I was a little surprised that when running a WIn32 program I got:
Trying to load PE image for unsupported architecture (I386)
I realise that the Win64 stuff is experimental but I'm curions, in the longer term is it expected that one executable will be able to run both Win32 and Win64 executables?
Cheers, Erik
On Wed, Feb 11, 2009 at 3:00 PM, Erik de Castro Lopo mle+win@mega-nerd.com wrote:
Hi all,
I build Wine64 using the instructions here:
While I expected it to not work with my Win64 program I was a little surprised that when running a WIn32 program I got:
Trying to load PE image for unsupported architecture (I386)
I realise that the Win64 stuff is experimental but I'm curions, in the longer term is it expected that one executable will be able to run both Win32 and Win64 executables?
Cheers, Erik
--
Erik de Castro Lopo
J. Headley: "God, root, what is difference ?" G. Haverland: "God can change the byte order on the CPU, root can't."
That functionality has not yet been implemented.
Build 32bit wine for that.
2009/2/11 Erik de Castro Lopo mle+win@mega-nerd.com:
I realise that the Win64 stuff is experimental but I'm curions, in the longer term is it expected that one executable will be able to run both Win32 and Win64 executables?
Not yet. You're welcome to write it though ;-)
- d.
Erik de Castro Lopo mle+win@mega-nerd.com writes:
While I expected it to not work with my Win64 program I was a little surprised that when running a WIn32 program I got:
Trying to load PE image for unsupported architecture (I386)
I realise that the Win64 stuff is experimental but I'm curions, in the longer term is it expected that one executable will be able to run both Win32 and Win64 executables?
Not really, you'll of course still need to build a full 32-bit version of Wine, the 64-bit Wine will never be able to run 32-bit apps. What needs to be improved is that the 64-bit loader should be able to forward automatically to the 32-bit one when encountering a 32-bit app.
Alexandre Julliard wrote:
Not really, you'll of course still need to build a full 32-bit version of Wine, the 64-bit Wine will never be able to run 32-bit apps.
Ok.
What needs to be improved is that the 64-bit loader should be able to forward automatically to the 32-bit one when encountering a 32-bit app.
So there will need to be two executables wine and wine64 and if either is started with the wrong kind of binary, it will need to run the binary with the other version?
Would it not be possible to have a single light weight binary that has just enough code to detect i386 vs amd64 and then execs either wine32 or wine64?
Erik
Erik de Castro Lopo mle+win@mega-nerd.com writes:
So there will need to be two executables wine and wine64 and if either is started with the wrong kind of binary, it will need to run the binary with the other version?
Would it not be possible to have a single light weight binary that has just enough code to detect i386 vs amd64 and then execs either wine32 or wine64?
sure, that would be possible. I don't know yet how it will be done, but that's a minor implementation detail.
On Wed, 2009-02-11 at 23:34 +0100, Alexandre Julliard wrote:
Not really, you'll of course still need to build a full 32-bit version of Wine, the 64-bit Wine will never be able to run 32-bit apps. What needs to be improved is that the 64-bit loader should be able to forward automatically to the 32-bit one when encountering a 32-bit app.
So there's no plans for implementing a clone of WoW64?
2009/2/12 Joel Holdsworth joel@airwebreathe.org.uk:
On Wed, 2009-02-11 at 23:34 +0100, Alexandre Julliard wrote:
Not really, you'll of course still need to build a full 32-bit version of Wine, the 64-bit Wine will never be able to run 32-bit apps. What needs to be improved is that the 64-bit loader should be able to forward automatically to the 32-bit one when encountering a 32-bit app.
So there's no plans for implementing a clone of WoW64?
I would imagine that the end goal is to implement a side-by-side 64bit and 32bit wine, with some sort of wrapper to send the app to the appropriate version. From what I understand, this is what a WoW64 clone would look like anyway.
See David's comment: 2009/2/12 David Gerard dgerard@gmail.com:
2009/2/11 Erik de Castro Lopo mle+win@mega-nerd.com:
I realise that the Win64 stuff is experimental but I'm curions, in the longer term is it expected that one executable will be able to run both Win32 and Win64 executables?
Not yet. You're welcome to write it though ;-)