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 Emacs 23.1.92 on Windows fails Date: Tue, 23 Feb 2010 20:27:18 +0200 Message-ID: <83k4u3n6yh.fsf@gnu.org> References: <4B80664D.5030606@gmail.com> <83d3zzw7cq.fsf@gnu.org> <4B80B4B3.3070609@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1266949653 29680 80.91.229.12 (23 Feb 2010 18:27:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2010 18:27:33 +0000 (UTC) Cc: cschol2112@googlemail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 23 19:27:29 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 1NjzTk-00020T-I8 for ged-emacs-devel@m.gmane.org; Tue, 23 Feb 2010 19:27:28 +0100 Original-Received: from localhost ([127.0.0.1]:59751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjzTj-0004kQ-R0 for ged-emacs-devel@m.gmane.org; Tue, 23 Feb 2010 13:27:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjzTe-0004jZ-9P for emacs-devel@gnu.org; Tue, 23 Feb 2010 13:27:22 -0500 Original-Received: from [140.186.70.92] (port=36267 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjzTd-0004jN-Gs for emacs-devel@gnu.org; Tue, 23 Feb 2010 13:27:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjzTc-0000B1-GU for emacs-devel@gnu.org; Tue, 23 Feb 2010 13:27:21 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:43178) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjzTc-0000Am-3R for emacs-devel@gnu.org; Tue, 23 Feb 2010 13:27:20 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KYB00C004J02R00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Tue, 23 Feb 2010 20:27:18 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.246.192]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KYB006U94LH4HL0@a-mtaout20.012.net.il>; Tue, 23 Feb 2010 20:27:18 +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:121300 Archived-At: > From: Stefan Monnier > Cc: Christoph > Date: Tue, 23 Feb 2010 12:38:35 -0500 > > > Yes, that turned out to be the problem. > > Using mingw32-make instead of cygwin's make worked and built successfully. > > Thanks. Eli, would it be possible to detect the use of cygwin's make > and output a warning in that case? If someone tells what does the Cygwin Make print under --version, and if there's something Cygwin-specific there, then yes, we could test that in nt/configure.bat. Failing that, w32proc.c:w32_executable_type has code to detect Cygwin executables by scanning their DLL import table for cygwin.dll. We could start the build by compiling a simple program to diagnose make.exe using that method. Seems a bit gross, though.