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: Mon, 2 May 2005 18:46:19 +1200 Message-ID: <17013.52411.51878.781739@farnswood.snap.net.nz> References: <17013.26868.207510.370151@farnswood.snap.net.nz> 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 1115062691 2704 80.91.229.2 (2 May 2005 19:38:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 May 2005 19:38:11 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 02 21:38:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DSgj4-0002E5-Up for ged-emacs-devel@m.gmane.org; Mon, 02 May 2005 21:37:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSgq1-0004oZ-Up for ged-emacs-devel@m.gmane.org; Mon, 02 May 2005 15:44:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DSfKh-0008Lb-BW for emacs-devel@gnu.org; Mon, 02 May 2005 14:07:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DSfKg-0008L4-EH for emacs-devel@gnu.org; Mon, 02 May 2005 14:07:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSfJy-0007nC-Ce for emacs-devel@gnu.org; Mon, 02 May 2005 14:07:06 -0400 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.34) id 1DSeys-0003hK-SQ for emacs-devel@gnu.org; Mon, 02 May 2005 13:45:19 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by mx20.gnu.org with esmtp (Exim 4.34) id 1DSUik-0000ZQ-FA for emacs-devel@gnu.org; Mon, 02 May 2005 02:47:58 -0400 Original-Received: from farnswood.snap.net.nz (p103-tnt1.snap.net.nz [202.124.110.103]) by viper.snap.net.nz (Postfix) with ESMTP id C95664B0586; Mon, 2 May 2005 18:46:23 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 6CE8862A99; Mon, 2 May 2005 07:46:20 +0100 (BST) Original-To: "Jan D." In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.32 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:36595 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36595 Jan D. writes: > >> I just got the following backtrace. Any idea what's up? > >> I indeed don't have /lib/cpp (this is on MacOSX) but it shouldn't > >> prevent me > >> from opening a C file, > > > > In this case, how does your system find c-macro-preprocessor?. Do you > > have > > /usr/ccs/lib/cpp? If so, oes it support the -dM switch option (or > > equivalent)? > > > > On my OSX (10.3.8) it is in /usr/bin/cpp. In that case, c-macro-preprocessor is set to "/lib/cpp -C" and c-macro-expand doesn't work on OSX? > But isn't using cpp directly deprecated? I don't think gcc installs cpp by > default anymore. Does c-macro-preprocessor also need updating then? Nick