[ros-kernel] Status of building Wine under Cygwin/Mingw

Robert Collins robert.collins at itdomain.com.au
Sun Apr 28 00:42:21 CDT 2002


> -----Original Message-----
> From: Steven Edwards [mailto:Steven_Ed4153 at yahoo.com] 
> Sent: Sunday, April 28, 2002 2:35 PM

> 2. run ./configure --host=mingw32 --target=mingw32 
> --build=mingw32 CFLAGS="-D_MINGW_ -D_WINDOWS -DWINE_NOWINSOCK"

You should probably add
CC="gcc -mno-cygwin" CXX="gcc -mno-cygwin" to the configure line if you
don't have a mingw cross compiler installed.
 
> 4. add -liberty to the makefile for wrc and wmc. This is 
> needed because of getopt and optarg

Cygwin has a BSD licenced getopt.c that doesn't need libiberty to link,
only mingw (AFAIK). Anyway worth investigating?
 
Rob



More information about the wine-devel mailing list