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: Wed, 4 May 2005 09:36:53 +1200 Message-ID: <17015.61173.809306.912619@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> <17014.63597.251623.642889@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 1115235967 3702 80.91.229.2 (4 May 2005 19:46:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 May 2005 19:46:07 +0000 (UTC) Cc: "Jan D." , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 04 21:46:06 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DTPoX-00027w-1k for ged-emacs-devel@m.gmane.org; Wed, 04 May 2005 21:45:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DTPvt-0001Hd-V3 for ged-emacs-devel@m.gmane.org; Wed, 04 May 2005 15:53:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DT96x-0002Jk-L3 for emacs-devel@gnu.org; Tue, 03 May 2005 21:55:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DT96t-0002HS-R7 for emacs-devel@gnu.org; Tue, 03 May 2005 21:55:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DT96t-0002Ds-Hq for emacs-devel@gnu.org; Tue, 03 May 2005 21:55:35 -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 1DT9A3-0006FR-S8 for emacs-devel@gnu.org; Tue, 03 May 2005 21:58:52 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by mx20.gnu.org with esmtp (Exim 4.34) id 1DT5g3-0005fa-BI for emacs-devel@gnu.org; Tue, 03 May 2005 18:15:39 -0400 Original-Received: from farnswood.snap.net.nz (p171-tnt2.snap.net.nz [202.124.108.171]) by viper.snap.net.nz (Postfix) with ESMTP id 18FAD4B07F0; Wed, 4 May 2005 10:12:34 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 88CB862A99; Tue, 3 May 2005 22:36:54 +0100 (BST) Original-To: Stefan Monnier In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.36 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:36650 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36650 > > OK. I see now. For Emacs, the source seems to have the same flags. So, in > > that case, I guess you could do something like: > > > (setq c-macro-cppflags "-Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/home/nick/emacs/src -D_BSD_SOURCE -I/usr/X11R6/include") > > Except that Emacs is not the only project I work on that uses the > C language. Thats why I said "in the case of Emacs": I was just pointing out c-macro-cppflags as an option. Nick