Mail Archives: cygwin/1999/08/17/18:28:50
No need to bet; you hit the nail on the head.
"Cygwin. Don't leave Unix without it." -- me
> -----Original Message-----
> From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com]
> Sent: Tuesday, August 17, 1999 6:19 PM
> To: John Wiersba; cygwin AT sourceware DOT cygnus DOT com;
> 'kevin_hill AT bigfoot DOT com'
> Subject: RE: Make quoted strings problem running from cmd.exe...
>
>
> Hmm. I bet you used cygwin to build your program didn't you.
> Whereas Kevin
> used MSVC to build his. If you build your program with
> mingw32, you'll have
> the same problem as Kevin.
>
> Earnie.
>
> --- John Wiersba <John DOT Wiersba AT medstat DOT com> wrote:
> > I'm running make 3.75 with no problems. Maybe this is a
> binary vs text
> > problem (I'm running all binary mounts).
> >
> > file prtcmd.c
> > #include "stdio.h"
> > main(int argc, char ** argv) {
> > int j;
> > for (j = 0; j < argc; ++j) {
> > printf("arg %d: <%s>\n", j, argv[j]);
> > }
> > exit(0);
> > }
> >
> > $ gcc prtcmd.c
> > $ mv a.exe prtcmd.exe
> >
> > file Makefile
> > a:
> > prtcmd a "b c" d
> > prtcmd -i "BEGIN { $$^W=1; }"
> >
> > output running bash and cmd.exe is identical:
> >
> > $ make -v
> > GNU Make version 3.75, by Richard Stallman and Roland McGrath.
> > Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96
> > Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.
> > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> > PARTICULAR PURPOSE.
> >
> > Report bugs to <bug-gnu-utils AT prep DOT ai DOT mit DOT edu>.
> >
> > $ make
> > prtcmd a "b c" d
> > arg 0: <prtcmd>
> > arg 1: <a>
> > arg 2: <b c>
> > arg 3: <d>
> > prtcmd -i "BEGIN { $^W=1; }"
> > arg 0: <prtcmd>
> > arg 1: <-i>
> > arg 2: <BEGIN { $^W=1; }>
> >
> > > -----Original Message-----
> > > From: Glenn Spell [mailto:glenn AT gs DOT fay DOT nc DOT us]
> > > Sent: Tuesday, August 17, 1999 5:41 PM
> > > To: cygwin AT sourceware DOT cygnus DOT com
> > > Subject: Re: Make quoted strings problem running from cmd.exe...
> > >
> > >
> > > On 18 Aug 1999 around 9:05AM (+1200) Kevin Hill wrote:
> > >
> > > > My problem now is not "is this a bug or strange feature in
> > > > make.exe?", but more one of "how can I fix this so I
> can move on
> > > > and get on with my project?".
> > >
> > > You might try upgrading from 3.75 to 3.77. There were
> various changes
> > > in the way make reads lines in makefiles since 3.75.
> > >
> > > -glenn
> > >
> > > --
> > > ) Glenn Spell <glenn AT gs DOT fay DOT nc DOT us> ) _ _____
> > > ) Fayetteville, North Carolina, U. S. A. )_ (__\____o /_/_ |
> > > ) _ _ _ _ _ _ _ _ _ _ _ _ _ _ ) >-----._/_/__]>
> > > )- blue skies - happy trails - sweet dreams -) `0 |
> > >
> > > --
> > > Want to unsubscribe from this list?
> > > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> > >
> >
> > --
> > Want to unsubscribe from this list?
> > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
> >
> >
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -