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: Compilation problems with latest MSVC Date: Fri, 29 Dec 2006 13:40:12 +0200 Message-ID: References: <4eb0089f0612281840x5f814fb1jd7c09e6182601e4f@mail.gmail.com> <4eb0089f0612281901o27849654k58dfaf73e73783d9@mail.gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: dough.gmane.org X-Trace: sea.gmane.org 1167392442 4786 80.91.229.10 (29 Dec 2006 11:40:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Dec 2006 11:40:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 29 12:40:39 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1H0G6E-0004Sx-AL for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 12:40:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0G6D-0007Tf-L4 for ged-emacs-devel@m.gmane.org; Fri, 29 Dec 2006 06:40:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H0G5w-0007TT-7h for emacs-devel@gnu.org; Fri, 29 Dec 2006 06:40:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H0G5v-0007TD-Q5 for emacs-devel@gnu.org; Fri, 29 Dec 2006 06:40:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H0G5v-0007T9-Dl for emacs-devel@gnu.org; Fri, 29 Dec 2006 06:40:15 -0500 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H0G5u-0000zn-Qr for emacs-devel@gnu.org; Fri, 29 Dec 2006 06:40:15 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-201-212.inter.net.il [80.230.201.212]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id FPA66249 (AUTH halo1); Fri, 29 Dec 2006 13:40:13 +0200 (IST) Original-To: "David Robinow" In-reply-to: <4eb0089f0612281901o27849654k58dfaf73e73783d9@mail.gmail.com> (drobinow@gmail.com) 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:64415 Archived-At: > Date: Thu, 28 Dec 2006 22:01:31 -0500 > From: "David Robinow" > Cc: emacs-devel@gnu.org > > On 12/28/06, David Robinow wrote: > > On 12/24/06, Eli Zaretskii wrote: > > > It seems like latest versions of MSVC are incompatible with the Emacs > > > .... > Sorry. Fumble-fingers interrupted my previous post. > Below are values for distributed versions of Visual Studio. It seems > some hacking on nmake.defs and makefile.w32-in should be able to > eliminate the warnings. If you can suggest a safe way of making these work for both VS 6 and the later versions, we could consider installing the changes before the release. TIA > Visual Studio 6: CL Version 12.00.8168 MSC_VER = 1200 > Linker version 6.00.8477 _NMAKE_VER = 6.00.8168.0 > > Visual Studio .NET: CL Version 13.00.9466 MSC_VER = 1300 > Linker version 7.00.9466 _NMAKE_VER = 7.0.9466 > > Visual Studio .NET 2003: CL Version 13.10.3077 MSC_VER = 1310 > Linker vers. 7.10.3077 _NMAKE_VER = 7.10.3077 Thanks. If nothing else, we should probably detect MSC_VER 1400 and warn that it's unsupported. > I tried to get the free-beer 2005 compiler to work about a month ago. > I edited out the offending debugtype:both and got quite a bit > farther. However, I had some other problem (which I can't remember > now) and ran out of time to play with it. I worked on that, and had quite a few more problems (related to the changes in the system headers which come with VS 2005 and to the fact that there's no single-threaded C library anymore). I solved those, but then hit a brick wall when emacs-bootstrap built but crashed during dumping. I don't have time to debug the crash, so unless someone else figures out how to solve it, I guess we will just say that VS 2005 is unsupported by Emacs 22.1. I can post the patches I needed to get Emacs to compile with VS 2005, if someone wants to work on this. Btw, the bare-bones download of VS 2005 couldn't even begin compiling the test programs during `configure', since there's no windows.h header file. I needed to force VS 2005 to use the Platform SDK include directory, to get it to compile. Maybe that's one reason Emacs crashed, but then how to get the missing headers?