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 www.sourceforge.net/projects/mingw and follow my directions for doing a WINE build on Windows from here.
http://reactos.wox.org/rosdocs/bk02pt02ch15.html
Thanks Steven
--- "Dimitrie O. Paun" dpaun@rogers.com 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 www.cygwin.com 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 http://sitebuilder.yahoo.com