From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: Using cygwin "make"
Date: Wed, 17 Jan 2001 06:23:00 -0000 [thread overview]
Message-ID: <20010117092318.A12235@redhat.com> (raw)
In-Reply-To: <17B78BDF120BD411B70100500422FC6309E1CA@IIS000>
On Wed, Jan 17, 2001 at 02:44:01PM +0100, Bernard Dautrevaux wrote:
>> I have tried both and neither works.
>>
>> It never seems to execute the cd correctly.
>>
>> With the following definitions
>> CLASSES=D:\classes
>>
>> The command
>>
>> D:\work>make --win32 -f d:\work\squash02\Makefile jar
>> gives me the following output
>> cd D:\classes ; jar -cvf
>> d:\cm-build\checkmate-0.7.0\lib\classes.jar squ/
>> The filename,directory name or volume label syntax is incorrect
>> make ***[jar] Error 1
>> D:\work>
>>
>> All the directories do exist but I just can't see what is wrong.
>> Any help would be greatly appreciated.
>
>
>Don't forget that make is using "sh" to execute the command, so the '\' is
>eaten by the shell. You sould use "CLASSES=D:\\classes",
>"CLASSES=D:/classes" or even better (as the colon may fool up make if
>$(CLASSES) is used somewhere in a dependency list)
>"CLASSES=/cygdrive/D/classes".
Remeber, he's using "make --win32", so /bin/sh doesn't enter into this.
If I try an equivalent makefile using "ls" instead of "jar", "ls" shows
the files in the directory that has been cd'ed to, so it seems like
make is working ok, so I can't explain this behavior.
cgf
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2001-01-17 6:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-17 6:16 Bernard Dautrevaux
2001-01-17 6:23 ` Christopher Faylor [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-01-17 5:42 Fleischer, Karsten (K.)
[not found] <200101171240.f0HCe1001909@dymwsm10.mailwatch.com>
2001-01-17 5:29 ` John Melody
2001-01-17 4:40 Fleischer, Karsten (K.)
2001-01-17 4:27 John Melody
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010117092318.A12235@redhat.com \
--to=cgf@redhat.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).