Wine32 on arm64/Raspberry Pi 4?

Questions about Wine on Linux
Locked
enigo
Newbie
Newbie
Posts: 1
Joined: Sun Jan 24, 2021 3:02 pm

Wine32 on arm64/Raspberry Pi 4?

Post by enigo »

I like to run an old Win32 app on a Raspberry Pi 4 (arm64) with Devuan/Debian. Wine version is wine-4.0 (Debian 4.0-2). Running the app I get

Code: Select all

$ wine my_app.exe
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
wine: Bad EXE format for Z:\home\user\my_app.exe
wine32 is not in available in the repository.

I found some links but they are very old and don't address the issue of running i386 (32bit) on arm64 (64bit):
https://wiki.winehq.org/Emulation
viewtopic.php?f=8&t=17701
https://www.raspberrypi.org/forums/view ... 41&t=12727
https://github.com/AlbrechtL/RPi-QEMU-x86-wine

Any idea how to run a win32 app on a Raspberry Pi 4 (arm64)?
User avatar
dimesio
Moderator
Moderator
Posts: 13200
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine32 on arm64/Raspberry Pi 4?

Post by dimesio »

enigo wrote: Sun Jan 24, 2021 4:20 pm Any idea how to run a win32 app on a Raspberry Pi 4 (arm64)?
You can't with just Wine, as Wine does not do CPU emulation. Some users have managed to get it working with QEMU. The most recent post about that is viewtopic.php?f=8&t=34849.
ionmich
Newbie
Newbie
Posts: 1
Joined: Thu May 13, 2021 6:51 pm

Re: Wine32 on arm64/Raspberry Pi 4?

Post by ionmich »

I believe I have read that Windows can run on a Pi4 under arm64. So is there any chance of seeing a Wine32 version for arm64 in the near future?

Thanks in advance.
fargodwe

Re: Wine32 on arm64/Raspberry Pi 4?

Post by fargodwe »

I found this an interesting topic so I searched the net a little. The link below is for installing Windows 10 for arm64 architecture (not intel/amd), but I personally think it would be more of a test or development platform than what people might be wanting. The following guide also talks about the ONLY way to get a LEGAL copy of Windows for ARM is to download from Microsoft and BUILD the iso.

https://www.worproject.ml/downloads

I tried the 2nd option but the download was blocked by Microsoft Edge saying the download might harm my computer. Just to be forewarned there may be more to it.

I'm not sure just exactly how much software might be able to run on that version of Windows as it is for ARM.

If you follow the above, it would no longer involve wine and as such anyone wanting to do this should see Pi support groups.
fargodwe

Re: Wine32 on arm64/Raspberry Pi 4?

Post by fargodwe »

Turns out it wasn't completely blocked. It turned out to be Windows Defender - why I don't know since I'm running real-time protection from Malwarebytes. At any rate, had to tell Windows Defender it was ok to continue and save the download. Same thing happened when I tried to run it initially but it eventually ran ok and created the ISO. I sold all of my Pi's thinking an Amazon Fire TV Cube would work better - wow was I wrong on that!! When I can save the money I'm going to buy another one and try this out - it has me curious!
sarahedmonds
Newbie
Newbie
Posts: 1
Joined: Wed Oct 06, 2021 10:00 pm

Re: Wine32 on arm64/Raspberry Pi 4?

Post by sarahedmonds »

Any idea how to run a win32 app on a Raspberry Pi 4 (arm64)?
You can't with just Wine, as Wine does not do CPU emulation
Some users have managed to get it working with QEMU. The most recent post about that is viewtopic.php?f=8&t=34849.
im also waiting solution of this topic. there are so many limitation for example QEMU due to lack of ptrace support, etc.
Locked