From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: /lib/cpp not found in c-mode Date: Fri, 6 May 2005 09:02:51 +1200 Message-ID: <17018.35323.755067.631608@farnswood.snap.net.nz> References: <17013.26868.207510.370151@farnswood.snap.net.nz> <17013.52411.51878.781739@farnswood.snap.net.nz> <17014.39042.74353.677362@farnswood.snap.net.nz> <87d5s8144e.fsf@zemdatav.stor.no-ip.org> <17017.13673.613123.524633@farnswood.snap.net.nz> <87ll6tn4hh.fsf-monnier+emacs@gnu.org> <01c5519b$Blat.v2.4$0c9b1d00@zahav.net.il> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1115330844 24327 80.91.229.2 (5 May 2005 22:07:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 May 2005 22:07:24 +0000 (UTC) Cc: Eli Zaretskii , mange@freemail.hu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 06 00:07:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DToTj-0002bJ-48 for ged-emacs-devel@m.gmane.org; Fri, 06 May 2005 00:05:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTobE-0008JI-Jj for ged-emacs-devel@m.gmane.org; Thu, 05 May 2005 18:13:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DToR5-0004kS-5B for emacs-devel@gnu.org; Thu, 05 May 2005 18:03:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DToQw-0004eM-1f for emacs-devel@gnu.org; Thu, 05 May 2005 18:03:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DToQv-0004Tr-H8 for emacs-devel@gnu.org; Thu, 05 May 2005 18:03:01 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DToRe-00061o-Mv; Thu, 05 May 2005 18:03:47 -0400 Original-Received: from farnswood.snap.net.nz (p170-tnt1.snap.net.nz [202.124.110.170]) by viper.snap.net.nz (Postfix) with ESMTP id 76C664B638E; Fri, 6 May 2005 09:58:23 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 87D4862A99; Thu, 5 May 2005 22:02:52 +0100 (BST) Original-To: Stefan Monnier In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.39 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:36733 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36733 Stefan Monnier writes: > >> ((not (file-executable-p "/lib/cpp")) "gcc -E -C -") > > > Right, but please amend this to look for cpp.exe etc. on systems that > > need that (or perhaps file-executable-p should try that > > automatically?). > > Or maybe (executable-find "/lib/cpp"), Since its a trivial change for someone who knows what the right change is, could you or Eli make it please. I think my changes are more general, but theres not much point in them being continually reviewed for correctness. Also could you please DTRT for gdb-cpp-define-alist-program. Thanks, Nick