X-Spam-Check-By: sourceware.org Date: Mon, 14 Aug 2006 17:31:32 -0400 From: Christopher Faylor 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/