This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

getopt working in b19?


I am using the standard getopt function on a program that I compile
either with linux (egcs-1.1) or with gnu-win32 (egcs-1.1) both on
i686-pc.

The gnu-win32 function appears to not work.   

 int c;
  while ((c = getopt (argc, argv, "cn:e:b:s:p:")) != EOF) {
    clog << c << '\n';


produces no output.  Is this getopt broken?
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]