From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9960: Compiling Emacs trunk with MSVC Date: Sun, 27 Nov 2011 21:05:11 +0200 Message-ID: <83fwh975eg.fsf@gnu.org> References: <83sjy5279e.fsf@gnu.org> <8339e2lsu7.fsf@gnu.org> <83zkgakdby.fsf@gnu.org> <4EB5320F.5090800@gmail.com> <83vcqyk8k3.fsf@gnu.org> <4EB540F4.7080106@gmail.com> <83r51mk62f.fsf@gnu.org> <86wrbeo7p5.fsf@googlemail.com> <83k47ejyyt.fsf@gnu.org> <86sjm2o559.fsf@googlemail.com> <86obwqo2hl.fsf@googlemail.com> <86ipmynwds.fsf@googlemail.com> <838vnujm3z.fsf@gnu.org> <83sjlzj25l.fsf@gnu.org> <8339dvgfpv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1322420783 31940 80.91.229.12 (27 Nov 2011 19:06:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Nov 2011 19:06:23 +0000 (UTC) Cc: cschol2112@googlemail.com, 9960@debbugs.gnu.org To: Fabrice Popineau Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 27 20:06:18 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RUk3N-0007Su-Uw for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Nov 2011 20:06:18 +0100 Original-Received: from localhost ([::1]:35838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUk3N-0004yr-F5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Nov 2011 14:06:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUk3J-0004yX-N2 for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2011 14:06:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUk3I-0003VL-8g for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2011 14:06:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUk3I-0003VH-6t for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2011 14:06:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RUk53-0001PL-P3 for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2011 14:08:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Nov 2011 19:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9960 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 9960-submit@debbugs.gnu.org id=B9960.13224208365346 (code B ref 9960); Sun, 27 Nov 2011 19:08:01 +0000 Original-Received: (at 9960) by debbugs.gnu.org; 27 Nov 2011 19:07:16 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RUk4J-0001OA-Be for submit@debbugs.gnu.org; Sun, 27 Nov 2011 14:07:15 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RUk4G-0001O1-By for 9960@debbugs.gnu.org; Sun, 27 Nov 2011 14:07:13 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LVC0000028XGT00@a-mtaout22.012.net.il> for 9960@debbugs.gnu.org; Sun, 27 Nov 2011 21:05:08 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.205.148]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LVC00MAI2CIVZD0@a-mtaout22.012.net.il>; Sun, 27 Nov 2011 21:05:07 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 27 Nov 2011 14:08:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54343 Archived-At: > From: Fabrice Popineau > Date: Thu, 10 Nov 2011 20:56:11 +0100 > Cc: cschol2112@googlemail.com, 9960@debbugs.gnu.org > > Sure. feel free to adapt on the basis of the attached patch. > Status is : > - completely functional 32 bits version with xpm, gif, jpeg, tiff. Able to > boostrap itself. > - the 64 bits version compiles and dumps, but fails to bootstrap (seems to > be looping inside elisp code). > > Is there any interest in having a 64bits windows emacs ? > > I have added two other files : a 64bits manifest for emacs.exe and a > w32compat.h header file that is needed to compile the above mentioned > libraries. In my case, this w32compat.h is included while compiling image.c > for example. > > Feel free to comment and adapt for the release version. Thanks. I think I made all the changes needed for the MSVC 32-bit build. You can try the latest bzr trunk, the changes are in revision 106533. The next pretest of Emacs 24 is expected to be available tomorrow, so if you can try building that and reporting back, that'd be swell. I'm leaving this bug open for now, in case I goofed and it still doesn't build. Please note that only some of the _WIN64 changes are committed. I didn't want to rock the boat too much during the pretest, and also I really feel that we've exceeded the amount of changes we can accept without legal papers. (I'd really encourage you to sign papers at some point, to make all this line-counting business unnecessary.) And I understand that you don't have a fully functional 64-bit version anyway. So I only committed those _WIN64 related changes that fix what we already had in the repository. The rest will have to wait for after the release of Emacs 24.1. Thank you for your help so far.