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: Building Emacs with MSVC Date: Wed, 07 Apr 2010 06:13:42 +0300 Message-ID: <831vesx8d5.fsf@gnu.org> References: <4BBBEFE2.5040003@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1270610133 16662 80.91.229.12 (7 Apr 2010 03:15:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Apr 2010 03:15:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Christoph Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 07 05:15:31 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 1NzLji-00072f-B0 for ged-emacs-devel@m.gmane.org; Wed, 07 Apr 2010 05:15:26 +0200 Original-Received: from localhost ([127.0.0.1]:56492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzLjh-0001YB-KU for ged-emacs-devel@m.gmane.org; Tue, 06 Apr 2010 23:15:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NzLjc-0001XL-7R for emacs-devel@gnu.org; Tue, 06 Apr 2010 23:15:20 -0400 Original-Received: from [140.186.70.92] (port=45679 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NzLja-0001WJ-U6 for emacs-devel@gnu.org; Tue, 06 Apr 2010 23:15:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NzLjZ-0005fI-Cb for emacs-devel@gnu.org; Tue, 06 Apr 2010 23:15:18 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:54917) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NzLjZ-0005fE-5r for emacs-devel@gnu.org; Tue, 06 Apr 2010 23:15:17 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L0H00400KOF3U00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 07 Apr 2010 06:13:34 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.124.92.42]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L0H0037EKYLU820@a-mtaout22.012.net.il>; Wed, 07 Apr 2010 06:13:34 +0300 (IDT) In-reply-to: <4BBBEFE2.5040003@gmail.com> 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:123290 Archived-At: > Date: Tue, 06 Apr 2010 20:37:22 -0600 > From: Christoph > > Does anybody know which version of MSVC successfully built Emacs last? > > This blog post > http://derekslager.com/blog/posts/2007/01/emacs-hack-3-compile-emacs-from-cvs-on-windows.ashx > points to MSVC 2003 as a version that apparently worked. According to > the post and comments in the Emacs makefiles, MSVC 2005 does not work. Yes, Studio 2003 is the last version known to build a working binary. > I have MSVC 2008 Express Edition installed and I have the trunk to the > point where it compiles and links, but crashes when dumping Emacs on > nmake bootstrap. That's a known problem. I forget the details (you can find them in the archives), but there's some problem with the library functions supplied by later versions of Studio, and/or conflicts with our customized malloc, that cause the crash. > The necessary changes to get to this point included > various source files, and nmake.defs. I will submit patches for some of > these. What for? If we cannot build a working binary, why pollute the sources with more MSVC-specific patches? > Anyway, I was wondering what the general status of MSVC support is. > While working on the make dist target I realized how painful MSVC > support can be. Right. And since MinGW is available and in pretty good shape, we decided at the time not to invest any effort in MSVC.