Re: Status of 64 bit Wine

2008-12-02 Thread Maarten Lankhorst
Hi Michael,

Michael Ost schreef:
 Hi list,

 Every once in a while my boss asks me about 64 bit wine. And today was 
 the day. So what's the status?

  From my understanding there are two parts to the question. First, is 
 anyone using a 64 bit build of Wine? How successfully? Does it pass the 
 internal wine tests?
   
Been playing around with it a little bit for fun and profit. If you look 
at the Wine64 wiki page you see the current state.
 And second, is there any progress on loading 64 bit windows binaries in 
 Wine? My understanding was that changes were needed to gcc to make that 
 happen. Is that correct? Is there any progress on that score?
   
The changes are mostly in, there is a bug in gcc with handling it, but I 
got the patch for it so locally it works. Basic programs winelib 
programs like winecfg work.
The most succesful binary I ran was a pacman for win64, but the only 
thing it does is throw up a messagebox 'unable to load resources'.

Getting it in an AJ approved form is a bit harder, but I'm working on it.

Cheers,
Maarten.




Re: Status of 64 bit Wine

2008-12-02 Thread Michael Ost
Maarten Lankhorst wrote:
 Hi Michael,
 
 Michael Ost schreef:
 Hi list,

 Every once in a while my boss asks me about 64 bit wine. And today was 
 the day. So what's the status?

  From my understanding there are two parts to the question. First, is 
 anyone using a 64 bit build of Wine? How successfully? Does it pass 
 the internal wine tests?
   
 Been playing around with it a little bit for fun and profit. If you look 
 at the Wine64 wiki page you see the current state.

Thanks for the link. It says AMD64 --- I hope this doesn't sound stupid 
but will that work on 64 bit Intels too?

Is this an afterhours project for you, or something more serious?

 And second, is there any progress on loading 64 bit windows binaries 
 in Wine? My understanding was that changes were needed to gcc to make 
 that happen. Is that correct? Is there any progress on that score?
   
 The changes are mostly in, there is a bug in gcc with handling it, but I 
 got the patch for it so locally it works. Basic programs winelib 
 programs like winecfg work.
 The most succesful binary I ran was a pacman for win64, but the only 
 thing it does is throw up a messagebox 'unable to load resources'.

Pacman is a windows 64 binary, with the windows ABI? And that required 
your local gcc patch to work, right? Does --enable-win64 alter gcc so it 
builds code that can deal with the windows 64 bit conventions?

Knowing that you got past that would be good news, because this sounded 
like the biggest, scariest part when I looked into it a while back.

 Getting it in an AJ approved form is a bit harder, but I'm working on it.

Right-o! Glad to hear you are at it.

Thanks! ... mo




Re: Status of 64 bit Wine

2008-12-02 Thread Francois Gouget
On Tue, 2 Dec 2008, Michael Ost wrote:
[...]
 Thanks for the link. It says AMD64 --- I hope this doesn't sound stupid 
 but will that work on 64 bit Intels too?

Yes. It's called AMD64 in many places because the 64bit extension of the 
x86 ISA was made by AMD and Intel played catch up later. So for instance 
on my Core 2 Quad I use the amd64 Linux kernel (2.6.26-1-amd64).



[...]
 Pacman is a windows 64 binary, with the windows ABI? And that required 
 your local gcc patch to work, right? Does --enable-win64 alter gcc so it 
 builds code that can deal with the windows 64 bit conventions?

That's also the way I understand it.


 Knowing that you got past that would be good news, because this sounded 
 like the biggest, scariest part when I looked into it a while back.

Yep. However once we're past this stage there is still a lot of work. 
Not scary because it's hard but because of the size of it, fixing types 
all over the place:
 * long - LONG when related to the Windows API
 * DWORD - DWORD_PTR when used to pass around pointers
 * spec file fixes: long - ptr

Then there will be the harder issue of getting 64bit and 32bit binaries 
to play nice together: a 64bit executable should be able to start a 
32bit one and vice versa, and both should talk to the same Wine server.

But yes. With the gcc issue fixed the future looks much brighter.


-- 
Francois Gouget [EMAIL PROTECTED]  http://fgouget.free.fr/
 Only wimps use tape backup: _real_ men just upload their important stuff on
   ftp, and let the rest of the world mirror it ;) -- Linus Torvalds




Status of 64 bit Wine

2008-12-01 Thread Michael Ost
Hi list,

Every once in a while my boss asks me about 64 bit wine. And today was 
the day. So what's the status?

 From my understanding there are two parts to the question. First, is 
anyone using a 64 bit build of Wine? How successfully? Does it pass the 
internal wine tests?

And second, is there any progress on loading 64 bit windows binaries in 
Wine? My understanding was that changes were needed to gcc to make that 
happen. Is that correct? Is there any progress on that score?

And please correct any misunderstandings I may have.

Thanks... mo