From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs from a new MinGW environment Date: Tue, 17 Sep 2013 20:27:06 +0300 Message-ID: <8338p3pded.fsf@gnu.org> References: <83sixwfdjk.fsf@gnu.org> <834n9nhhp6.fsf@gnu.org> <83ppsbfoe7.fsf@gnu.org> <83mwnffkom.fsf@gnu.org> <83k3ijfhk0.fsf@gnu.org> <83hadnf7gs.fsf@gnu.org> <83hadmqvql.fsf@gnu.org> <83txhkpszv.fsf@gnu.org> <83pps8pnc9.fsf@gnu.org> <83ob7splia.fsf@gnu.org> <83k3ifq5o5.fsf@gnu.org> <83d2o7q28r.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1379438852 16779 80.91.229.3 (17 Sep 2013 17:27:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2013 17:27:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dani Moncayo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 17 19:27:35 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VLz3g-0001gL-MH for ged-emacs-devel@m.gmane.org; Tue, 17 Sep 2013 19:27:28 +0200 Original-Received: from localhost ([::1]:42753 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLz3g-0002dt-67 for ged-emacs-devel@m.gmane.org; Tue, 17 Sep 2013 13:27:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLz3Z-0002ct-1p for emacs-devel@gnu.org; Tue, 17 Sep 2013 13:27:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLz3P-0006N0-4q for emacs-devel@gnu.org; Tue, 17 Sep 2013 13:27:21 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:40258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLz3O-0006KC-SN for emacs-devel@gnu.org; Tue, 17 Sep 2013 13:27:11 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MTA007005OXND00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Tue, 17 Sep 2013 20:27:09 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MTA0075C5T7HTE0@a-mtaout23.012.net.il>; Tue, 17 Sep 2013 20:27:08 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163397 Archived-At: > Date: Tue, 17 Sep 2013 18:09:37 +0200 > From: Dani Moncayo > Cc: Emacs development discussions > > > OK, then we could put this line > > > > test "$MSYSTEM" = "MINGW32" && srcdir=`(cd "$srcdir"; pwd -W)` > > > > immediately below the 'esac' in the fragment I've shown. Does that do > > the job for you? > > I've tried it but the bootstrap fails. I'm attaching the output of > the corresponding "make bootstrap" . I don't understand where did the C:/msys/home/d.moncayo.melgar/emacs/emacs.git/ directory come from? Does directory by such name indeed exist on your disk, and Windows (not MSYS) can find it? Did you try this from a directory different from where you made your previous trials? If the directory exists, I don't understand the reason for these failures: /bin/makeinfo --force --enable-encoding -I C:/msys/home/d.moncayo.melgar/emacs/emacs.git/doc/lispref/../emacs -I C:/msys/home/d.moncayo.melgar/emacs/emacs.git/doc/lispref --no-split -o C:/msys/home/d.moncayo.melgar/emacs/emacs.git/doc/lispref/../../info/elisp.info C:/msys/home/d.moncayo.melgar/emacs/emacs.git/doc/lispref/elisp.texi C:/msys/home/d.moncayo.melgar/emacs/emacs.git/doc/lispref/elisp.texi:58: @include `emacsver.texi': No such file or directory. Is this some problem with the MSYS port of makeinfo, perhaps? > But the general principle is that, it is conceptually wrong to do > conversions of pathnames from MSYS format to native windows format > based on pattern substitution, assuming that the MSYS paths will > always be either in "/X/whatever" format or in "X:/whatever" format. If the change in configure.ac works, we will be able to remove almost all of that stuff in top-level Makefile. > Therefore, whenever we need to convert pathnames from any > MSYS-compliant format to the windows-native counterpart, the only > reliable way is using the "pwd -W" feature. That's what my suggestion tries to do, but in a single place. > > In any case, the problem with src/.gdbinit in the build tree still > > needs to be solved; no amount of changes in the Makefile's can do > > that, because that file is created by config.status. So we still need > > something in configure.ac as well. > > FWIW, with the last change you suggested, the file "src/.gdbinit" in > the build tree now contains this: > source C:/msys/home/d.moncayo.melgar/emacs/emacs.git/src/.gdbinit Is this the correct file name, or isn't it?