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: Compiling (development) Emacs with MSVC Date: Fri, 10 Dec 2010 13:32:13 +0200 Message-ID: <83sjy5279e.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1291980765 11470 80.91.229.12 (10 Dec 2010 11:32:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 11:32:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Fabrice Popineau Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 10 12:32:40 2010 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.69) (envelope-from ) id 1PR1DK-0006pH-GB for ged-emacs-devel@m.gmane.org; Fri, 10 Dec 2010 12:32:38 +0100 Original-Received: from localhost ([127.0.0.1]:60710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PR1DJ-0002Dw-Rc for ged-emacs-devel@m.gmane.org; Fri, 10 Dec 2010 06:32:37 -0500 Original-Received: from [140.186.70.92] (port=58772 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PR1Cz-0002Br-1n for emacs-devel@gnu.org; Fri, 10 Dec 2010 06:32:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PR1Ck-0007fz-S9 for emacs-devel@gnu.org; Fri, 10 Dec 2010 06:32:16 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:54499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PR1Ck-0007fR-Lg for emacs-devel@gnu.org; Fri, 10 Dec 2010 06:32:02 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LD700E00LZ06D00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 10 Dec 2010 13:32:01 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.142.197]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LD700D2EMPBVZA0@a-mtaout21.012.net.il>; Fri, 10 Dec 2010 13:32:01 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) 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:133569 Archived-At: > From: Fabrice Popineau > Date: Mon, 6 Dec 2010 21:21:49 +0000 (UTC) > > I'm digging out this thread because I have been beaten > by this very feature using the most recent msvc compiler > (Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01) > together with their linker > (Microsoft (R) Incremental Linker Version 10.00.30319.01) > This time, the ASLR feature is turned on _by default_ > and the dumped emacs is not able to run (various function > pointers off). > Hint: use the /dynamicbase:no option to the linker. > > I have been able to compile the current emacs source > tree with msvc/mscvcrt.dll (debug mode for the moment). > It just works (almost) out of the box. I have been able > to bootstrap and run the whole thing. Any patches that are worth adding to mainline? TIA