From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sean Sieger Newsgroups: gmane.emacs.devel Subject: Re: Compiling Emacs 23.1.92 on Windows fails Date: Wed, 24 Feb 2010 09:56:20 -0500 Message-ID: <873a0qr8bv.fsf@gmail.com> References: <4B80664D.5030606@gmail.com> <83d3zzw7cq.fsf@gnu.org> <4B80B4B3.3070609@gmail.com> <83k4u3n6yh.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267023854 1470 80.91.229.12 (24 Feb 2010 15:04:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2010 15:04:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 24 16:04:11 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 1NkImV-00060K-Lw for ged-emacs-devel@m.gmane.org; Wed, 24 Feb 2010 16:04:08 +0100 Original-Received: from localhost ([127.0.0.1]:59290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkImV-000451-31 for ged-emacs-devel@m.gmane.org; Wed, 24 Feb 2010 10:04:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkIfK-00080P-Cx for emacs-devel@gnu.org; Wed, 24 Feb 2010 09:56:42 -0500 Original-Received: from [140.186.70.92] (port=47887 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkIfI-0007zO-Vy for emacs-devel@gnu.org; Wed, 24 Feb 2010 09:56:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NkIfH-0001q4-NL for emacs-devel@gnu.org; Wed, 24 Feb 2010 09:56:40 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:50477) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NkIfH-0001pl-D3 for emacs-devel@gnu.org; Wed, 24 Feb 2010 09:56:39 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NkIfB-0001fu-6i for emacs-devel@gnu.org; Wed, 24 Feb 2010 15:56:33 +0100 Original-Received: from pool-68-161-31-27.ny325.east.verizon.net ([68.161.31.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2010 15:56:33 +0100 Original-Received: from sean.sieger by pool-68-161-31-27.ny325.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2010 15:56:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-161-31-27.ny325.east.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) Cancel-Lock: sha1:uJArxJuD9OY5FYkWVuAYPXqgikk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:121335 Archived-At: Eli Zaretskii writes: > 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. I don't know if this is related, but here is the contents of config.log when I did, cmd /c configure.bat --without-png --without-jpeg --without-tiff --without-gif --cflags -IC:\libXpm-3.5.8\src gcc -c junk.c junk.c:1:29: error: cygwin/version.h: No such file or directory The failed program was: #include "cygwin/version.h" main(){} gcc -c junk.c gcc -c -O2 -mtune=pentium4 junk.c GCC supports -mtune=pentium4 gcc -c -gdwarf-2 -g3 junk.c GCC supports DWARF-2 Emacs successfully configured. 'Cept, still no support for the tool-bar icons. I sure would appreciate any feedback about the configure syntax above.