From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William Xue" Newsgroups: gmane.emacs.devel Subject: Re: Help: build emacs in cygwin Date: Wed, 07 Mar 2007 16:22:32 +0800 Organization: wv Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173255816 14826 80.91.229.12 (7 Mar 2007 08:23:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2007 08:23:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Eli Zaretskii" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 07 09:23:23 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 1HOrQf-0000S3-UX for ged-emacs-devel@m.gmane.org; Wed, 07 Mar 2007 09:23:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOrQk-0001ip-0w for ged-emacs-devel@m.gmane.org; Wed, 07 Mar 2007 03:23:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOrQW-0001iH-8U for emacs-devel@gnu.org; Wed, 07 Mar 2007 03:23:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOrQT-0001hz-Qu for emacs-devel@gnu.org; Wed, 07 Mar 2007 03:23:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOrQT-0001hw-JX for emacs-devel@gnu.org; Wed, 07 Mar 2007 03:23:09 -0500 Original-Received: from wr-out-0506.google.com ([64.233.184.236]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HOrQO-0006Dk-Pn for emacs-devel@gnu.org; Wed, 07 Mar 2007 03:23:04 -0500 Original-Received: by wr-out-0506.google.com with SMTP id i20so120484wra for ; Wed, 07 Mar 2007 00:23:04 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:to:subject:from:organization:cc:content-type:mime-version:references:content-transfer-encoding:message-id:in-reply-to:user-agent; b=fg5eAJ1Hpp/9IuXsef46v4/xP3fyaF2WLkqsBqZFBq3gHaaDMvHfiUCTVkE3x2I3spNEw/y2k0M6xn9LJUgM9MSdxk4fog3xKAHkEM1YRff16ec7mWGnaeY1427ZjLmc4Ni08jbX4xsLkgNrRf2HY+RrsvdMLZYiHqc1seCMNfM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:from:organization:cc:content-type:mime-version:references:content-transfer-encoding:message-id:in-reply-to:user-agent; b=WMsRKfuQ9uE5ydBoFQKTnzCis5QkO3CD/aPzAmBt2dmJiZP8ak2Js0TNQq9oH6uk/QpG9db4bErAr4xto+yipNlDJOijQwEvq6N6MK1uPRwFliol5JJZpJdDK86ak5mYWzqjuhoJTY157TUzDO6JAfnL6CIzhKbsGIUkJ1tOsac= Original-Received: by 10.114.197.1 with SMTP id u1mr2061409waf.1173255783126; Wed, 07 Mar 2007 00:23:03 -0800 (PST) Original-Received: from williamnb ( [58.33.96.177]) by mx.google.com with ESMTP id m27sm831105pof.2007.03.07.00.23.00; Wed, 07 Mar 2007 00:23:02 -0800 (PST) In-Reply-To: User-Agent: Opera Mail/9.20 (Win32) X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:67489 Archived-At: On Wed, 07 Mar 2007 12:24:28 +0800, Eli Zaretskii wrote: >> 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. Thank you. I have checked the file and it seems that I should upgrade the GCC to 4.0 first. I will try the newest GCC release 4.0.1.2 first. -- Sincerely yours, William