From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Guy Gascoigne-Piggford Newsgroups: gmane.emacs.devel Subject: Re: NT mingw/msys build problem Date: Mon, 25 Oct 2004 15:41:41 -0700 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <417D8125.2020005@wyrdrune.com> References: <417CB924.8080107@wyrdrune.com> <417CC43A.40804@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098744161 23765 80.91.229.6 (25 Oct 2004 22:42:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Oct 2004 22:42:41 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 26 00:42:25 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 1CMDXk-0003Nw-00 for ; Tue, 26 Oct 2004 00:42:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMDfP-0005pO-ML for ged-emacs-devel@m.gmane.org; Mon, 25 Oct 2004 18:50:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CMDfJ-0005pB-0z for emacs-devel@gnu.org; Mon, 25 Oct 2004 18:50:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CMDfH-0005on-Be for emacs-devel@gnu.org; Mon, 25 Oct 2004 18:50:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CMDfH-0005ok-9P for emacs-devel@gnu.org; Mon, 25 Oct 2004 18:50:11 -0400 Original-Received: from [204.127.198.35] (helo=rwcrmhc11.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CMDXZ-0001B9-4z for emacs-devel@gnu.org; Mon, 25 Oct 2004 18:42:13 -0400 Original-Received: from wyrdrune (c-24-21-205-248.client.comcast.net[24.21.205.248]) by comcast.net (rwcrmhc11) with SMTP id <2004102522420401300ref9de>; Mon, 25 Oct 2004 22:42:11 +0000 Original-Received: from 127.0.0.1 by wyrdrune ([127.0.0.1] running VPOP3) with ESMTP for ; Mon, 25 Oct 2004 15:42:13 -0700 User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en Original-To: Emacs Devel In-Reply-To: <417CC43A.40804@gnu.org> X-Server: VPOP3 V1.5.0g - Registered 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28947 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28947 Hmm, when I try doing a "make SHELL=cmd.exe" all I get is make hanging indefinately. If I try to rename the msys /bin/sh.exe and just run make then I get a slew of errors about /bin/sh not existing and then make exits. I'll take a more detailed look at this tonight when I get out of work. As an aside though, can someone who can actually build emacs on NT tell me what environment they use for this? I thought that I'd make my life easier by using mingw and msys, but I'm beginning to realise that this was a bit too optimistic. Clearly there is some way to make this work, but it's not particularly obvious to me I'm afraid. Guy Jason Rumney wrote: > Guy Gascoigne-Piggford wrote: > >> I've been trying to track down a problem that my NT build has when >> building with the latest mingw+msys environment. Emacs builds and >> runs, but certain autoloads seem to be missing, after much hunting >> through build logs I ended out with this being the cause of the problem: >> >> Eventually make runs this: >> >> "./../bin/emacs.exe" -batch --no-init-file --no-site-file --multibyte >> -l autoload \ >> --eval '(setq find-file-hooks nil \ >> find-file-suppress-same-file-warnings t \ >> generated-autoload-file \ >> "c:/dev/emacs-src/emacs/lisp/loaddefs.el")' \ >> -f batch-update-autoloads c:/dev/emacs-src/emacs/lisp calc >> calendar emacs-lisp emulation eshell gnus international language mail >> mh-e net obsolete play progmodes term textmodes toolbar url >> >> the output of which is: >> >> Wrote >> c:/dev/emacs-src/emacs/lisp/c;C:Devmsys.0evacs-srcacslisploaddefs.el >> Loading vc-cvs... >> Wrote >> c:/dev/emacs-src/emacs/lisp/c;C:Devmsys.0evacs-srcacslisploaddefs.el >> Autoloads file >> c:/dev/emacs-src/emacs/lisp/c;C:Devmsys.0evacs-srcacslisploaddefs.el >> does not exist > > > I think that looks like what I got when I tried msys several months > ago. The workaround I used was "make SHELL=cmd.exe", or rename sh.exe > from msys to some other name. > . >