Wine on Windows with cygwin

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
captainraptor
Newbie
Newbie
Posts: 1
Joined: Sun Apr 01, 2018 10:02 pm

Wine on Windows with cygwin

Post by captainraptor »

Hi,

This is mostly just for tinkering, but I got wine 1.0.1 to compile in Windows XP SP3 in a cygwin shell using the following configure command:

Code: Select all

./configure --disable-win64 --enable-win16 --without-x --without-freetype --
disable-tests CFLAGS=-fgnu89-inline -D_WINDOWS -mno-cygwin CC=mingw32-gcc
I chose version 1.0.1 because that was before they split out all the 16-bit DLLs. Because of the lack of support of 16-bit apps in Windows 10, and horrible integration of dosbox + win3.1, I'm hoping I can find a feasible way to run an old 16-bit game of mine with WINE.

The EXEs work OK, like winedbg, but there is funny business with the DLLs named the same as the windows system ones and I'm not sure how to override those yet. (I've played with manifests and .local)

Has anyone else had experience with doing something like this?
danoon
Level 1
Level 1
Posts: 5
Joined: Tue Sep 27, 2011 11:08 pm

Re: Wine on Windows with cygwin

Post by danoon »

I got Wine to run in an emulator, kind of like Dosbox, http://www.boxedwine.org/

It runs about 50% of the Win16 and older Win32 games I have thrown at it. If you are trying to run a particular game, it might work for you.
Hark1medes
Level 1
Level 1
Posts: 8
Joined: Sun Apr 22, 2018 10:55 am

Re: Wine on Windows with cygwin

Post by Hark1medes »

captainraptor wrote:This is mostly just for tinkering, but I got wine 1.0.1 to compile in Windows XP SP3 in a cygwin shell using the following configure command...

Has anyone else had experience with doing something like this?
Hi captainraptor, I just thought I'd stop by and reply. So first off, if getting your program running is the main priority, I did find one other thing you can try in the FAQ:
https://wiki.winehq.org/FAQ#16-bit_appl ... l_to_start
I don't know if you've already tried that (with a relatively recent version of Wine and the linux kernel), but it's a thought.

Anyways, if you're wondering why there haven't been many replies, we have an unofficial policy of radio-silence on the forums whenever the phrase "wine on windows" comes up. In the past, any discussion just led to rumors and urban legends spreading about things that just don't work. However, since it sounds like you're willing to actually spend some time on the development side of things, I'll simply point you to this page on the wiki:
https://wiki.winehq.org/Cygwin_and_More

Be sure to read all the disclaimers first, but then if you're still interested, I think this section is what you're looking for:
https://wiki.winehq.org/Cygwin_and_More#Wine_on_Cygwin
In fact, if you want to update that section of the wiki, we always like when people share new test results.
Locked