-----Original Message----- From: Francois Gouget [mailto:fgouget@free.fr] Sent: Monday, April 29, 2002 6:15 AM To: Robert Collins Cc: Steven_Ed4153@yahoo.com; wine-devel@winehq.com; ReactOS-Kernel Subject: RE: [ros-kernel] Status of building Wine under Cygwin/Mingw
On Sun, 28 Apr 2002, Robert Collins wrote: [...]
- 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?
I usually regard getopt functions as higly unportable and always try to avoid them. I did not check how they are used in wrc&co, but it should not be very difficult to do entirely without them. I believe that would be the best solution.
You must end up writing the same bit of code many times. Ahh well, have fun.
Rob