From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Two strange messages while building Emacs on MS-Windows Date: Sat, 08 Dec 2012 14:24:23 +0100 Message-ID: <87hanwy8vs.fsf@wanadoo.es> References: <83mwxpmtp6.fsf@gnu.org> <83d2ylm0em.fsf@gnu.org> <87y5h8ydy0.fsf@wanadoo.es> <87pq2kyc7e.fsf@wanadoo.es> <83lid8lnlj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354973084 9866 80.91.229.3 (8 Dec 2012 13:24:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Dec 2012 13:24:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 08 14:24:58 2012 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 1ThKOk-0003f3-Od for ged-emacs-devel@m.gmane.org; Sat, 08 Dec 2012 14:24:54 +0100 Original-Received: from localhost ([::1]:59667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThKOY-0000op-Go for ged-emacs-devel@m.gmane.org; Sat, 08 Dec 2012 08:24:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThKOW-0000oi-9K for emacs-devel@gnu.org; Sat, 08 Dec 2012 08:24:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThKOU-0004ys-Tt for emacs-devel@gnu.org; Sat, 08 Dec 2012 08:24:40 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:55353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThKOU-0004yQ-Jz for emacs-devel@gnu.org; Sat, 08 Dec 2012 08:24:38 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ThKOd-0003VU-UA for emacs-devel@gnu.org; Sat, 08 Dec 2012 14:24:47 +0100 Original-Received: from 126.red-88-13-105.dynamicip.rima-tde.net ([88.13.105.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Dec 2012 14:24:47 +0100 Original-Received: from ofv by 126.red-88-13-105.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Dec 2012 14:24:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 126.red-88-13-105.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:7C4w9MNioOH7bYSbz63J/XSKOFg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:155375 Archived-At: Eli Zaretskii writes: > Your cmd.exe is dysfunctional. That's what I was suspecting. >> What's the oldest OS version supported by the build scripts? > > Windows NT4. Thanks. So Wine is neglecting cmd.exe. Using one from a Windows XP install allows the script to complete. Then, buildobj.h causes a failure because it contains too much " and '. Apparently make-buildobj-SH: is used instead of make-buildobj-CMD. Fixing that by hand allows the process to reach this point: mingw32-make[1]: Entering directory `D:/exp/emacs/emacs/lib-src' mmingw32-make[1]: Leaving directory `D:/exp/emacs/emacs/lib-src' ingw32-make[1]: *** No rule to make target `../lisp/abbrev.elc', needed by `DOC'. Stop. mingw32-make: *** [all-other-dirs-gmake] Error 2 Why DOC depends on .elc files when there is no temacs.exe for building them? Then I blindly remove the DOC target from here and there and the build reaches the point where temacs.bin is created: gcc -o oo-spd/i386/temacs.bin -gdwarf-2 -g3 -Ld:/exp/emacs/gnuwin32/lib -Wl,-stack,0x00800000 -Wl,-heap,0x00100000 -Wl,-image-base,0x01000000 -Wl,-subsystem,console -Wl,-entry,__start -Wl,-Map,oo-spd/i386/temacs.map oo-spd/i386/firstfile.o oo-spd/i386/emacs.res oo-spd/i386/temacs0.a oo-spd/i386/temacs1.a oo-spd/i386/temacs2.a oo-spd/i386/lastfile.a ../lib/oo-spd/i386/libgnu.a -lwinmm -ladvapi32 -lgdi32 -lcomdlg32 -luser32 -lmpr -lshell32 -lwinspool -lole32 -lcomctl32 -lusp10 "./../nt/oo-spd/i386/addsection" "oo-spd/i386/temacs.bin" "oo-spd/i386/temacs.exe" EMHEAP 27 Dumping from oo-spd/i386/temacs.bin to oo-spd/i386/temacs.exe "./oo-spd/i386/temacs.exe" -batch -l loadup dump mingw32-make[1]: *** [oo-spd/i386/emacs.exe] Error -1 mingw32-make[1]: Leaving directory `D:/exp/emacs/emacs/src' mingw32-make: *** [all-other-dirs-gmake] Error 2 Well, that's enough for now.