This is the mail archive of the cygwin-patches@cygwin.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]

Re: winsup/cygwin/lib/getopt.c -mno-cygwin


Christopher Faylor wrote:
> 
> On Fri, Sep 21, 2001 at 04:22:32PM -0400, Earnie Boyd wrote:
> >Christopher Faylor wrote:
> >>
> >> On Fri, Sep 21, 2001 at 02:56:00PM -0400, Earnie Boyd wrote:
> >> >Did you try `strace -j'?  The valid options work the invalid option
> >> >brings up Dr. Watson.
> >>
> >> Yes.  I tried using options that didn't exist since that is the reason
> >> for the _argv patch.
> >>
> >
> >Strange!?  Differences between NT4 and W2K?  Should I apply the patch?
> 
> I tried this on W2K and Windows 95.  It's odd that it would work on
> both of those.
> 
> I just tried a fresh rebuild from CVS.  It still works fine.  Odd.
> 

You're saying you don't need the patch????!!  You're saying that you
don't get:

BoydE@DU211344 /prj/cygwin/rt/bld/i686-pc-cygwin/winsup/utils
$ make
gcc -L/prj/cygwin/rt/bld/i686-pc-cygwin/winsup
-L/prj/cygwin/rt/bld/i686-pc-cygwin/winsup/cygwin
-L/prj/cygwin/rt/bld/i686-pc-cygwin/winsup/w32api/lib -isystem
/prj/cygwin/rt/src/winsup/include -isystem
/prj/cygwin/rt/src/winsup/cygwin/include -isystem
/prj/cygwin/rt/src/winsup/w32api/include -isystem
/prj/cygwin/rt/src/newlib/libc/sys/cygwin -isystem
/prj/cygwin/rt/src/newlib/libc/sys/cygwin32
-B/prj/cygwin/rt/bld/i686-pc-cygwin/newlib/ -isystem
/prj/cygwin/rt/bld/i686-pc-cygwin/newlib/targ-include -isystem
/prj/cygwin/rt/src/newlib/libc/include -c -nostdinc   -O0 -g -Wall
-Wwrite-strings   -I. -I/prj/cygwin/rt/src/winsup/cygwin/include
-I/prj/cygwin/rt/src/winsup/cygwin
-I/prj/cygwin/rt/src/newlib/libc/sys/cygwin
-I/prj/cygwin/rt/src/newlib/libc/include
-I/prj/cygwin/rt/src/winsup/w32api/include
-I/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5//include -c -g -o
./mingw_getopt.o -mno-cygwin -I/prj/cygwin/rt/src/winsup/mingw/include
-I/prj/cygwin/rt/src/winsup/cygwin/include
-I/prj/cygwin/rt/src/winsup/w32api/include
/prj/cygwin/rt/src/winsup/cygwin/lib/getopt.c
/prj/cygwin/rt/src/winsup/cygwin/lib/getopt.c: In function `_vwarnx':
/prj/cygwin/rt/src/winsup/cygwin/lib/getopt.c:114: `__argv' undeclared
(first use in this function)
/prj/cygwin/rt/src/winsup/cygwin/lib/getopt.c:114: (Each undeclared
identifier is reported only once
/prj/cygwin/rt/src/winsup/cygwin/lib/getopt.c:114: for each function it
appears in.)
make: *** [mingw_getopt.o] Error 1

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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