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: Some error info from configure.bat please Date: Sat, 02 Jul 2005 18:53:44 +0200 Message-ID: References: <42C65F1B.1030706@student.lu.se> <42C6894C.5080702@student.lu.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1120320195 20359 80.91.229.2 (2 Jul 2005 16:03:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Jul 2005 16:03:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 02 18:03:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DokSP-0003Iy-QH for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2005 18:03:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DokTW-0001TX-Ij for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2005 12:04:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DokPl-0008VK-PN for emacs-devel@gnu.org; Sat, 02 Jul 2005 12:00:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DokPi-0008Tz-Sm for emacs-devel@gnu.org; Sat, 02 Jul 2005 12:00:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DokPh-0008Pl-D8 for emacs-devel@gnu.org; Sat, 02 Jul 2005 12:00:17 -0400 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DokOr-0008EU-Py for emacs-devel@gnu.org; Sat, 02 Jul 2005 11:59:26 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-143-111.inter.net.il [80.230.143.111]) by legolas.inter.net.il (MOS 3.5.8-GR) with ESMTP id EUF84404 (AUTH halo1); Sat, 2 Jul 2005 18:53:47 +0300 (IDT) Original-To: Lennart Borgman In-reply-to: <42C6894C.5080702@student.lu.se> (message from Lennart Borgman on Sat, 02 Jul 2005 14:32:12 +0200) 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:40125 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40125 > Date: Sat, 02 Jul 2005 14:32:12 +0200 > From: Lennart Borgman > Cc: emacs-devel@gnu.org > > I would like to use this in a cmd file to see if the build should > continue after config.bat. > > My config.log looks like this: > > gcc -c junk.c > junk.c:1:29: cygwin/version.h: No such file or directory > The failed program was: > #include "cygwin/version.h" > main(){} > gcc -Id:/g/include -c junk.c > gcc -c -O2 -mtune=pentium4 junk.c > cc1.exe: invalid option `tune=pentium4' > The failed program was: > main(){} > gcc -Id:/g/include -c junk.c -o junk.obj > gcc -Id:/g/include -c junk.c -o junk.obj > gcc -Id:/g/include -c junk.c -o junk.obj > gcc -Id:/g/include -c junk.c -o junk.obj > gcc -Id:/g/include -c junk.c -o junk.obj > > Does it give me any information I can check from the cmd file? It does say, e.g., that you use a somewhat old version of GCC which does not support the -mtune=pentium4 option. If that output is not enough, we could add some more text to what is written to config.log, and you could then look for it with findstr or some such. For example, if all you care for is whether configure.bat succeeded, we could have configure.bat echo something like "configure FAILED" to the end of config.log. > >What ``working command files'' are we talking about? > > > My own. I use to upload copies of them to the net. So I guess we are not talking about command files you want to add to the Emacs sources, yes?