Build WINE on Windows

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Pi_User5
Level 2
Level 2
Posts: 17
Joined: Wed Oct 08, 2014 9:02 pm

Build WINE on Windows

Post by Pi_User5 »

Is there some way I can build WINE on Windows? I have Windows 7 Professional SP1 x64 and I checked out WINE using Tortoise GIT to the folder E:\wine. Thanks!
cheako
Level 2
Level 2
Posts: 19
Joined: Sun Apr 26, 2015 11:33 pm

Re: Build WINE on Windows

Post by cheako »

This is called cross compiling and it's difficult... Too difficult.

http://www.electronicsweekly.com/open-s ... s-2009-01/
http://stackoverflow.com/questions/2214 ... on-windows

Your best bet is to use or write a tool like this:
http://visualgdb.com/tutorials/linux/

With git and a few other tools it should be possible to write a batch file that builds the project. It's advocated to use a virtual machine, but take a look at colinux.
http://www.colinux.org/
Pi_User5
Level 2
Level 2
Posts: 17
Joined: Wed Oct 08, 2014 9:02 pm

Re: Build WINE on Windows

Post by Pi_User5 »

cheako wrote:t subject: Re: Build WINE on Windows
This is called cross compiling and it's difficult... Too difficult.

http://www.electronicsweekly.com/open-s ... s-2009-01/
http://stackoverflow.com/questions/2214 ... on-windows

Your best bet is to use or write a tool like this:
http://visualgdb.com/tutorials/linux/

With git and a few other tools it should be possible to write a batch file that builds the project. It's advocated to use a virtual machine, but take a look at colinux.
http://www.colinux.org/
Thanks! I am dual booting Windows and Ubuntu 14 LTS and I guess I could compile under Ubuntu but I don't know how to either. I wrote a simple patch and I am needing to test it before I submit it.
cheako
Level 2
Level 2
Posts: 19
Joined: Sun Apr 26, 2015 11:33 pm

Re: Build WINE on Windows

Post by cheako »

I've done something neat that I called quad booting. I'd startup windows or Linux and then boot the other in a VM, using colinux on windows and kvm on linux. I could boot the system in four different ways: linux, windows, linux->windows, windows->linux. With only two OSes installed.

While running windows you should try booting your physical disk device in a VM(I used qemu and colinux), making sure that you don't boot into windows.

There was a trick to get windows to boot using a different disk device, there is a MS knowlage article about it. Essentially you'd put the driver .sys file into the correct flooder and setup a few registry keys, this trick was getting the correct keys copied them from another system. I'm still amazed that windows needs registry settings to load the disk device driver, seems like you've already got it if your able to read them.

Though Longene is something to watch as well.
http://en.wikipedia.org/wiki/Longene
Pi_User5
Level 2
Level 2
Posts: 17
Joined: Wed Oct 08, 2014 9:02 pm

Re: Build WINE on Windows

Post by Pi_User5 »

I'll just build it under Linux. Is there somewhere I can find some simple instructions to build it? My patch only adds one line and I want to submit soon.
cheako
Level 2
Level 2
Posts: 19
Joined: Sun Apr 26, 2015 11:33 pm

Re: Build WINE on Windows

Post by cheako »

For something like that I'd download the debian source and add your patch to the debian/patches folder, then upload the source package to a launchpad ppa. You should be able to do all that using only cygwin.
Pi_User5
Level 2
Level 2
Posts: 17
Joined: Wed Oct 08, 2014 9:02 pm

Re: Build WINE on Windows

Post by Pi_User5 »

I used this download: http://prdownloads.sourceforge.net/wine ... 41.tar.bz2 How would I do the launchpad and cygwin thing?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Build WINE on Windows

Post by dimesio »

If you're planning on submitting a patch here you should be using git, not a tarball. http://wiki.winehq.org/GitWine
cheako
Level 2
Level 2
Posts: 19
Joined: Sun Apr 26, 2015 11:33 pm

Re: Build WINE on Windows

Post by cheako »

This has nothing to do with wine, use google for yourself.

https://help.launchpad.net/Packaging/PPA
Locked