Script to compile Wine programs on Windows

Steven Edwards steven_ed4153 at
Wed Sep 24 11:46:30 CDT 2003

Most of it should already build under Cygwin as cygwin1b apps. just 
$ ./configure && make tools && cd dlls && make

You will have trouble with kernel32 and ntdll.
Also there is a patch to build Wineserver on cygwin floating around.

If you want to build apps that are linked to msvcrt.dll rather than
cygwin runtime dont use cygwin. I tried using the -fno-cygwin option in
the past but the problem is that some of the other librarys we link to
such as -fl and GL are linked to cygwin so you will end up with
programs that try to import both msvcrt and cygwin. I would recommend
you get Mingw + MSYS from and follow
my directions for doing a WINE build on Windows from here.


--- "Dimitrie O. Paun" <dpaun at> wrote:
> On September 23, 2003 11:02 pm, Pavel Roskin wrote:
> > The attached script makes it possible to compile many programs from
> Wine
> > under Windows.  The only software needed on Windows is Cygwin with
> MinGW
> > libraries and some other utilities (flex, bison).  Simply run
> setup.exe
> > from and make sure to select MinGW development
> tools.
> > Then get Wine sources, and run the attached script in the Cygwin
> shell
> > while in the Wine top-level source directory.
> Cool, but wouldn't it be even nicer if we could build everything out
> of our Makefiles directly? It may be a bit trickier to integrate
> cleanly into our build system, but I think the result is much nicer.
> -- 
> Dimi.

Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

More information about the wine-devel mailing list