From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Boostrap error Date: Wed, 10 Nov 2004 15:12:59 +0100 Message-ID: References: <418F258D.5050201@wyrdrune.com> <3E791795-316A-11D9-A429-000D93505B76@swipnet.se> <418F4AC8.4050906@gnu.org> <418FAFA5.6010108@swipnet.se> <029f01c4c5be$422cd8f0$0200a8c0@sedrcw11488> <418FDD39.7040601@swipnet.se> <036e01c4c68d$6d7159d0$0200a8c0@sedrcw11488> <4191D67A.9000000@swipnet.se> <052d01c4c726$612d4d20$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100096055 3022 80.91.229.6 (10 Nov 2004 14:14:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Nov 2004 14:14:15 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 10 15:14:05 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CRtEa-0001Sy-00 for ; Wed, 10 Nov 2004 15:14:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CRtN2-0001gw-Nz for ged-emacs-devel@m.gmane.org; Wed, 10 Nov 2004 09:22:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CRtMv-0001gn-IT for emacs-devel@gnu.org; Wed, 10 Nov 2004 09:22:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CRtMu-0001g6-AN for emacs-devel@gnu.org; Wed, 10 Nov 2004 09:22:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CRtMu-0001g3-7O for emacs-devel@gnu.org; Wed, 10 Nov 2004 09:22:40 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CRtDn-0008Ei-IM for emacs-devel@gnu.org; Wed, 10 Nov 2004 09:13:15 -0500 Original-Received: from coolsville.localdomain ([83.226.180.220] [83.226.180.220]) by mxfep02.bredband.com with ESMTP id <20041110141314.XYEQ6427.mxfep02.bredband.com@coolsville.localdomain>; Wed, 10 Nov 2004 15:13:14 +0100 In-Reply-To: <052d01c4c726$612d4d20$0200a8c0@sedrcw11488> Original-To: "Lennart Borgman" X-Mailer: Apple Mail (2.619) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29710 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29710 > : things to do and Windows is not my preferred platform. Besides, the > solution > : you are proposing only handles a special case, not the general case. > > It was not my proposal, it was Stefan Monniers, but I liked it so I > corrected some errors in the code he himself did not have time to > test. But > what do you mean with that it is a special case? In cygwin you can change the prefix, it can be changed to any string. The patch only handles the default /cygdrive. I use /cyg myself. Also, only single letter mounts that corresponds to DOS drives are handeled (i.e. /d/src <=> d:/src). But cygwin lets you mount paths anywhere and multiple times. I mount d:/src under /usr/src, so these three paths go to the same directory: /cyg/d/src /d/src /usr/src The possibilites are endless, so a simple regexp can not capture this in the general case. > : If it > : where up to me, I'd let configure check if cygpath is usable, and if > not, > : require that the user supply the dos path to configure > : (--dospath=c:/whatever/emacs) and use that for buildlisppath and > lisp in > the > : makefiles for leim and lisp respectively. But again, this is not my > platform > : of choice, so the ones working on this must do what they think is > best. > > Can you please explain what you mean more exactly? Are you using > configure.bat in the nt subdir? Or configure in the main dir? What is > dospath? Is it a proposal or does it exist? Yes, I use configure.bat. Dos path is the path DOS/Windows programs use, like c:/windows. This what I do: cd /d/src/emacs-cygwin/nt ./configure.bat make bootstrap lisp=d:/src/emacs-cygwin/lisp buildlisppath=d:/src/emacs-cygwin/lisp The last part is something that could be simplified, either by trying to figure out the DOS path in configure.bat, or if that is not possible, require that the user gives it to configure, something like: ./configure.bat --dospath=d:/src/emacs-cygwin I then would not have to type the path twice on the command line, configure.bat would add that last /lisp also and substitute this into leim/makefile and lisp/makefile. This works for any cygwin mount as long as the DOS path is correct. Jan D.