Can I compile a 32-bit only Wine package on a 64-bit OS?

Questions about Wine on Linux
Locked
RobertX
Level 2
Level 2
Posts: 40
Joined: Thu Sep 09, 2021 9:57 pm

Can I compile a 32-bit only Wine package on a 64-bit OS?

Post by RobertX »

I am trying a hand on compiling Wine packages on Linux Mint 20.2 64-bit.

My question is: can I compile a 32-bit only Wine version on a 64-bit GNU/Linux OS?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Can I compile a 32-bit only Wine package on a 64-bit OS?

Post by jkfloris »

Yes, that's possible.
In a nutshell:
- Make sure the 32-bit build dependencies are installed.
- run the configure script
- run make
The wiki has more information about this.
RobertX
Level 2
Level 2
Posts: 40
Joined: Thu Sep 09, 2021 9:57 pm

Re: Can I compile a 32-bit only Wine package on a 64-bit OS?

Post by RobertX »

When you say "32-bit," does this include the dependencies in the table?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Can I compile a 32-bit only Wine package on a 64-bit OS?

Post by jkfloris »

Yes, that's right. For example, on Linux Mint, you can install the 32-bit version of libpng-dev with:

Code: Select all

sudo apt install libpng-dev:i386
Locked