On Sun, 28 Apr 2002, Robert Collins wrote: [...] > > 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?
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. -- Francois Gouget [EMAIL PROTECTED] http://fgouget.free.fr/ Hiroshima '45 - Czernobyl '86 - Windows '95