From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: [PATCH 0/9] Support Win32 GUI in Cygwin Emacs Date: Tue, 07 Aug 2012 19:33:12 -0700 Message-ID: <5021CFE8.1040900@dancol.org> References: <83r4rifwhh.fsf@gnu.org> <50215075.5060105@dancol.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9D2EF07DCBAF8E7E7AD0DEB5" X-Trace: dough.gmane.org 1344393183 10493 80.91.229.3 (8 Aug 2012 02:33:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2012 02:33:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 08 04:33:03 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 1Syw50-0000Bn-PS for ged-emacs-devel@m.gmane.org; Wed, 08 Aug 2012 04:33:02 +0200 Original-Received: from localhost ([::1]:44693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syw50-0005IE-0k for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2012 22:33:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syw4x-0005Ho-1q for emacs-devel@gnu.org; Tue, 07 Aug 2012 22:33:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syw4w-0003is-0t for emacs-devel@gnu.org; Tue, 07 Aug 2012 22:32:58 -0400 Original-Received: from dancol.org ([96.126.100.184]:39556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syw4u-0003iU-4V; Tue, 07 Aug 2012 22:32:56 -0400 Original-Received: from c-76-22-66-162.hsd1.wa.comcast.net ([76.22.66.162] helo=[0.0.0.0]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Syw4s-0008SK-3v; Tue, 07 Aug 2012 19:32:54 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: <50215075.5060105@dancol.org> X-Enigmail-Version: 1.4.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 96.126.100.184 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:152305 Archived-At: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9D2EF07DCBAF8E7E7AD0DEB5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 8/7/2012 10:29 AM, Daniel Colascione wrote: > On 8/7/12 10:22 AM, Eli Zaretskii wrote: >>> Date: Tue, 07 Aug 2012 01:19:27 -0700 >>> From: Daniel Colascione >>> >>> This set of patches allows a Cygwin Emacs to use the w32 window-syste= m >>> instead of X11. (The ability to use X11 with Cygwin is retained.) >>> This patchset also fixes a few bugs in the Windows code and makes the= >>> window-system configuration mechanism more generic, eliminating >>> inclusion of window-system specific headers in most of the code. >> >> Thanks. Just for my information: did you try building the modified >> sources with MinGW? >=20 > Not yet, but definitely before I check in. Doing so looks like a pain > because I have a Cygwin build environment, not a MinGW one, and Emacs > won't build as NT-native under cross-compilation from Cygwin. (But > it'd be nice to make that work.) >=20 Is building with cl.exe (Visual Studio) supposed to work? I remember some= discussion on the mailing list, but I don't know whether compilation was = made to actually work. When I try building with CL, I get a bunch of errors, many= apparently unrelated to my changes. For example, emacs.c c:\users\dancol\software\emacs\cyg.w32test\src\lisp.h(336) : error C2065:= 'PTRDI FF_MIN' : undeclared identifier c:\users\dancol\software\emacs\cyg.w32test\src\lisp.h(336) : error C2099:= initia lizer is not a constant c:\users\dancol\software\emacs\cyg.w32test\src\lisp.h(2375) : error C2065= : 'PTRD IFF_MIN' : undeclared identifier --------------enig9D2EF07DCBAF8E7E7AD0DEB5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAhz+gACgkQ17c2LVA10VuPVgCfUnHp4VxvCjjfEcd1cRd71BEK 0+QAmgJDDGEzx9QqHjlOSl469p75hCF5 =nN0K -----END PGP SIGNATURE----- --------------enig9D2EF07DCBAF8E7E7AD0DEB5--