X-Spam-Check-By: sourceware.org
Date: Mon, 14 Aug 2006 17:31:32 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.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@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <6.2.3.4.2.20060814153701.0b3cab80@pop.nycap.rr.com> <C874DBE9D30B584587F8CD0EC34DA8BE024CF9F2@EX00.idirect.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <C874DBE9D30B584587F8CD0EC34DA8BE024CF9F2@EX00.idirect.net>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@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/

