Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <200309182018.h8IKIVWa019609@bolt.sonic.net> To: cygwin AT cygwin DOT com From: Bryan Higgins Reply-To: bryan AT motet DOT com Subject: Re: getopt: ugly linker messages Date: Thu, 18 Sep 2003 13:18:31 -0700 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 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/