Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990817221859.28972.rocketmail@web114.yahoomail.com> Date: Tue, 17 Aug 1999 15:18:59 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: RE: Make quoted strings problem running from cmd.exe... To: John Wiersba , cygwin AT sourceware DOT cygnus DOT com, "'kevin_hill AT bigfoot DOT com'" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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 . > > $ make > prtcmd a "b c" d > arg 0: > arg 1: > arg 2: > arg 3: > prtcmd -i "BEGIN { $^W=1; }" > arg 0: > arg 1: <-i> > arg 2: > > > -----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 ) _ _____ > > ) 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