delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/14/15:08:21

X-Spam-Check-By: sourceware.org
Message-Id: <6.2.3.4.2.20060814144800.03924700@pop.nycap.rr.com>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4
Date: Mon, 14 Aug 2006 15:07:41 -0400
To: Dave Korn <dave DOT korn AT artimi DOT com>, cygwin AT cygwin DOT com
From: "William A. Hoffman" <billlist AT nycap DOT rr DOT com>
Subject: RE: change in behavior of make from 3.80 to 3.81
In-Reply-To: <007301c6bfd0$8d781dc0$a501a8c0@CAM.ARTIMI.COM>
References: <6 DOT 2 DOT 3 DOT 4 DOT 2 DOT 20060814142135 DOT 0eb85ac0 AT pop DOT biz DOT rr DOT com> <007301c6bfd0$8d781dc0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
X-IsSubscribed: yes
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

At 02:36 PM 8/14/2006, Dave Korn wrote:
>On 14 August 2006 19:29, Bill Hoffman wrote:
>
>
>  Search the archives, and read the release announcement for the new make
>version.
>
>  Every single day for the past month, we have had at least seventy-four[*]
>identical duplicate redundant reports of this from people who haven't bothered
>to check if it was already known.

Just being lazy.  I should have searched.   I see now there is quite a bit
of traffic on this.  I don't know if this is adding to the discussion, but
I will give my use case that shows the problem.

So, visual studio 2005 now supports the ability to run cl for two .o files
at the same time, so you can do make -j N builds with cl as the compiler.
I am the maintainer of the CMake www.cmake.org package, and CMake can generate
"Unix Makefiles" on windows, and in the past prior to 3.81, this worked. 
The problem is that the CMake that generates the makefiles does not know about
cygwin, and can not run cygpath.   It creates makefiles with / and not \, but
still has the drive letter : for full paths.   cl does accept paths with / in them,
but it obviously does not know about /cygdrive/c.   

I guess I should just recommend that cmake users use mingw make:


>Note that the --win32 command line option and "MAKE_MODE" environment
>variable are no longer supported in Cygwin's make.  If you need to use a
>Makefile which contains MS-DOS path names, then please use a MinGW
>version of make.
>
>See: <http://mingw.org/>http://mingw.org/ for details on downloading a version of make
>which understands MS-DOS path names.  Please! direct any questions about
>the MinGW version of make to the appropriate MinGW mailing list.

Although, the only thing CMake users need is a way to specify the
drive root, and /cygdrive will not work because of cl.  But, the rest
of the paths used in the makefiles are POSIX /.

-Bill  


--
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