This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: getopt: ugly linker messages
- From: Bryan Higgins <bryan at motet dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 18 Sep 2003 13:18:31 -0700
- Subject: Re: getopt: ugly linker messages
- Reply-to: bryan at motet dot com
Christopher Faylor wrote:
>You can use unistd.h if you want. If you knew this already why were you
>asking the question?
>From the gnu getopt(3) man page (mysteriously missing in cygwin):
#include <unistd.h>
int getopt(int argc, char * const argv[],
const char *optstring);
extern char *optarg;
extern int optind, opterr, optopt;
If one does this with the latest cygwin, ugly linker messages result.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/