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: CC Mode and GCC/CEDET integration for evaluating macros Date: Fri, 01 May 2015 22:30:56 +0300 Message-ID: <83egn0qemn.fsf@gnu.org> References: <87k2wsi62e.fsf@gmail.com> <20150501181135.GA6376@acm.fritz.box> <877fssi2cb.fsf@gmail.com> <83lhh8qgp6.fsf@gnu.org> <87zj5ogmf5.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1430508701 16678 80.91.229.3 (1 May 2015 19:31:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 May 2015 19:31:41 +0000 (UTC) Cc: acm@muc.de, emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 01 21:31:30 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YoGen-0002hE-0x for ged-emacs-devel@m.gmane.org; Fri, 01 May 2015 21:31:29 +0200 Original-Received: from localhost ([::1]:55309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoGem-00086s-Ca for ged-emacs-devel@m.gmane.org; Fri, 01 May 2015 15:31:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoGeh-00082a-LX for emacs-devel@gnu.org; Fri, 01 May 2015 15:31:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoGec-0002Xo-02 for emacs-devel@gnu.org; Fri, 01 May 2015 15:31:23 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:52754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoGeb-0002XO-PJ for emacs-devel@gnu.org; Fri, 01 May 2015 15:31:17 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NNO00D00RIEFG00@mtaout26.012.net.il> for emacs-devel@gnu.org; Fri, 01 May 2015 22:32:54 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNO003JDRMSE180@mtaout26.012.net.il>; Fri, 01 May 2015 22:32:54 +0300 (IDT) In-reply-to: <87zj5ogmf5.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186099 Archived-At: > From: Oleh Krehel > Cc: acm@muc.de, emacs-devel@gnu.org > Date: Fri, 01 May 2015 20:52:46 +0200 > > > You need to pass it the same -I flags as used during the Emacs build, > > see src/Makefile. > > Thanks for the suggestion. I tried it and it didn't work. Sorry, I'm confused: what did you try, and how did it not work? > Is there a working / better way to get these flags. You could say "make -n fns.o -W fns.c", and process the output, I guess. In any case, src/Makefile is the only place where these flags are recorded, so you must somehow ask Make to display them.