From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: /lib/cpp not found in c-mode Date: Thu, 05 May 2005 14:19:34 -0400 Message-ID: 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 X-Trace: sea.gmane.org 1115317871 8303 80.91.229.2 (5 May 2005 18:31:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 May 2005 18:31:11 +0000 (UTC) Cc: nickrob@snap.net.nz, mange@freemail.hu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 05 20:31:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DTl7P-00018Y-2l for ged-emacs-devel@m.gmane.org; Thu, 05 May 2005 20:30:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTlEy-0006p8-0D for ged-emacs-devel@m.gmane.org; Thu, 05 May 2005 14:38:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DTl9p-0003s8-9b for emacs-devel@gnu.org; Thu, 05 May 2005 14:33:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DTl8X-0002fx-Ok for emacs-devel@gnu.org; Thu, 05 May 2005 14:31:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTl7O-00016G-HW for emacs-devel@gnu.org; Thu, 05 May 2005 14:30:38 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DTl1s-0001Sb-6n; Thu, 05 May 2005 14:24:56 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id DA66C340011; Thu, 5 May 2005 14:19:38 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 6C8DF4AC008; Thu, 5 May 2005 14:19:34 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 54F52E6C1F; Thu, 5 May 2005 14:19:34 -0400 (EDT) Original-To: Eli Zaretskii In-Reply-To: <01c5519b$Blat.v2.4$0c9b1d00@zahav.net.il> (Eli Zaretskii's message of "Thu, 05 May 2005 20:50:19 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.84, requis 5, autolearn=not spam, AWL 0.06, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:36712 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36712 >> ((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"), Stefan