delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/14/17:31:43

X-Spam-Check-By: sourceware.org
Date: Mon, 14 Aug 2006 17:31:32 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: change in behavior of make from 3.80 to 3.81
Message-ID: <20060814213132.GA31811@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <6 DOT 2 DOT 3 DOT 4 DOT 2 DOT 20060814153701 DOT 0b3cab80 AT pop DOT nycap DOT rr DOT com> <C874DBE9D30B584587F8CD0EC34DA8BE024CF9F2 AT EX00 DOT idirect DOT net>
Mime-Version: 1.0
In-Reply-To: <C874DBE9D30B584587F8CD0EC34DA8BE024CF9F2@EX00.idirect.net>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, Aug 14, 2006 at 05:15:50PM -0400, Harig, Mark wrote:
> 
>
>> -----Original Message-----
>> 
>> $ make -f mk
>> make: *** No rule to make target `c\:/hoffman/foo/foo.c', 
>> needed by `foo'.  Stop
>> 
>> Hoffman AT VOGON ~/foo
>> $ ../make381/usr/bin/make.exe -f mk
>> make: *** No rule to make target `c\:/hoffman/foo/foo.c', 
>> needed by `foo'.  Stop
>> 
>> 
>> So, I am guessing there is no way to write a makefile that will use
>> make 3.81 that will work with Microsoft's cl.  Is that 
>> correct?  Or am 
>> I missing something?  I can change cmake to put anything I 
>> want in the generated
>> makefiles, but it will have to be something that is valid for cl.
>
>Suggestion:
>
>1. $ mount -m
>   $ mount -s -b --change-cygdrive-prefix "/"
>   $ mount -m
>
>2. Edit your 'mk' file to change "c\:/hoffman" to "/c/hoffman".  In
>   general, change the "drive:" strings to "/drive/" strings, after you have
>   changed your cygdrive prefix.

That isn't going to help with programs like cl which take MS-DOS command
line arguments, nor, is my oft-suggested but consistently ignored perl
script for converting a makefile from MS-DOS to cygwin paths.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019