How to build Wine on X86_64 for getting X86 wine?

Questions about Wine on Linux
Locked
freedomBird
Level 2
Level 2
Posts: 21
Joined: Wed Sep 20, 2017 9:18 pm

How to build Wine on X86_64 for getting X86 wine?

Post by freedomBird »

Hi, everyone.
I can build Wine on the architecture of X86_64 and I get the running environment of wine64. But I want to run the executable file of x86_32, now I can't build the wine for running x86_32 applications. How can I do that building 32bit of wine on X86_64? Please help me, thanks
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: How to build Wine on X86_64 for getting X86 wine?

Post by dimesio »

User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: How to build Wine on X86_64 for getting X86 wine?

Post by Bob Wya »

freedomBird wrote:Hi, everyone.
I can build Wine on the architecture of X86_64 and I get the running environment of wine64. But I want to run the executable file of x86_32, now I can't build the wine for running x86_32 applications. How can I do that building 32bit of wine on X86_64? Please help me, thanks
On what OS / Linux distribution?
Any end-goal?
Or just for the learning experience?

Bob
freedomBird
Level 2
Level 2
Posts: 21
Joined: Wed Sep 20, 2017 9:18 pm

Re: How to build Wine on X86_64 for getting X86 wine?

Post by freedomBird »

Bob Wya wrote: On what OS / Linux distribution?
Linux OS: Fedora 21
Bob Wya wrote: Any end-goal?
Or just for the learning experience?
My end-goal is to be able to build a Wine on a 64-bit Linux that can run both 32-bit Windows applications and run 64-bit Windows applications.

Thanks,
WJ
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: How to build Wine on X86_64 for getting X86 wine?

Post by dimesio »

Linux OS: Fedora 21
That version of Fedora went EOL three years ago. You really should upgrade.

Fedora has good multilib support, so you should be able to build 32 bit Wine on it without needing a container/chroot; the basic instructions I linked to above should work. Just make sure you have the needed 32 bit dependencies installed. https://wiki.winehq.org/Fedora has a list of the packages.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: How to build Wine on X86_64 for getting X86 wine?

Post by Bob Wya »

freedomBird wrote:
Bob Wya wrote: On what OS / Linux distribution?
Linux OS: Fedora 21
I'm thinking my secondary install of Fedora 27, is getting a bit long in the tooth, on my main laptop.
That's bearing in mind I don't even use this OS (mainly I use Gentoo)...

Fedora 29 is the current release.

Fedora 21 went EOL on 01 Dec 2015...!! :shock:

There are WineHQ OBS packages available for Fedora 29.
No need to compile from source, without a compelling reason to do so (like running Gentoo for example)...

Bob
Locked