Re: Windows make invoking cygwin sh bug

Alex Khripin <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
On Fri, Mar 18, 2011 at 4:16 AM, Eli Zaretskii <[email protected]> wrote:

> > Date: Thu, 17 Mar 2011 21:26:12 -0400
> > From: Alex Khripin <[email protected]>
> >
> > Short summary: there's a bug (I blame Cygwin, but want to fix make) in
> > running commands that start with a drive letter when using Windows make
> and
> > Cygwin sh
>
> Why are you using a native build of Make with Cygwin tools?  Doing
> that is asking for trouble due to subtle incompatibilities like this
> one.  The Cygwin build of Make is a much better candidate for this
> kind of job, and it does support DOS/Windows file names with drive
> letters.  Can you use that instead?  If not, why not?
>
> I tried this today with a simple Makefile that I ran with Cygwin's make:
DIR=c:/temp

$(DIR)/myfile2 : $(DIR)/myfile
    cp $^ $@

$(DIR)/myfile :
    @echo foo > $@


This does not work:
Makefile:3: *** target pattern contains no `%'.  Stop.

Are you sure the cygwin make is meant to deal with Windows paths?

_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.