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: Help: build emacs in cygwin Date: Wed, 07 Mar 2007 06:24:28 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1173241490 21430 80.91.229.12 (7 Mar 2007 04:24:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2007 04:24:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: "William Xue" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 07 05:24:42 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOnhi-0004Wm-3g for ged-emacs-devel@m.gmane.org; Wed, 07 Mar 2007 05:24:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOnhk-0004h9-Pk for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 23:24:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOnhQ-0004Ww-VJ for emacs-devel@gnu.org; Tue, 06 Mar 2007 23:24:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOnhP-0004Vl-8Z for emacs-devel@gnu.org; Tue, 06 Mar 2007 23:24:24 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOnhO-0004Ve-Vs for emacs-devel@gnu.org; Tue, 06 Mar 2007 23:24:23 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HOnhK-0006wr-K2 for emacs-devel@gnu.org; Tue, 06 Mar 2007 23:24:19 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-162-174.inter.net.il [84.228.162.174]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id GFT96082 (AUTH halo1); Wed, 7 Mar 2007 06:24:12 +0200 (IST) In-reply-to: (william.xue@gmail.com) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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: news.gmane.org gmane.emacs.devel:67476 Archived-At: > Date: Wed, 07 Mar 2007 09:27:04 +0800 > From: "William Xue" > Cc: emacs-devel@gnu.org > > On Wed, 07 Mar 2007 04:40:00 +0800, Eli Zaretskii wrote: > > >> Date: Tue, 06 Mar 2007 16:01:30 +0800 > >> From: "William Xue" > >> > >> I'm attempting to build emacs in cygwin and encountered a problem with : > >> > >> mv -f emacs.exe bootstrap-emacs.exe > >> mv: cannot stat `emacs.exe': No such file or directory > > > > Please show the entire transcript of the build, starting with > > "make bootstrap". The Makefile itself does not have enough > > information about the possible reason(s) for your problem. > > Eli, you mentioned 'transcript', is it the following? > ---8<-------------------------------------------------------------------->8--- > [williamx@williamnb emacs]$ make bootstrap Yes, thanks. > `/bin/pwd`/temacs --batch --load loadup bootstrap > Loading loadup.el (source)... > Using load-path (/src/opensource/emacs/lisp > /src/opensource/emacs/lisp/emacs-lisp /src/opensource/emacs/lisp/language > /src/opensource/emacs/lisp/international > /src/opensource/emacs/lisp/textmodes) > Loading emacs-lisp/byte-run (source)... > Loading emacs-lisp/backquote (source)... > Loading subr (source)... > Loading version.el (source)... > Loading widget (source)... > Loading custom (source)... > Loading emacs-lisp/map-ynp (source)... > Loading env (source)... > Loading cus-start (source)... > Loading international/mule (source)... > Loading international/mule-conf.el (source)... > mv -f emacs.exe bootstrap-emacs.exe > mv: cannot stat `emacs.exe': No such file or directory This shows the problem very clearly: for some reason, the command that should have produced emacs.exe didn't run to completion, but rather finished prematurely (a.k.a. crashed) after loading only a handful of *.el files, the last one being mule-conf.el. The Cygwin build of Emacs is currently very troubled. In particular, only a few versions of GCC are known to produce a working binary. Please see the entry in etc/PROBLEMS whose header is "Building the Cygwin port for MS-Windows can fail with some GCC version". Also, you will find a few discussions in the archives of this list about similar problems that might help you find a solution.