delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/13/09:57:01

Date: Thu, 13 May 1999 16:19:35 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Ephraim Ben-Ishai <Ephraimbi AT orckit DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: excluding include files from precompilation
In-Reply-To: <9074E89DACDDD2119C4D00805FEDBE89218489@ormail1.orckit.com>
Message-ID: <Pine.SUN.3.91.990513161914.12629U-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 13 May 1999, Ephraim Ben-Ishai wrote:


> I am using the gcc with the -MMD option. This is not enough for me. I need
> to exclude other include files. Can I do this?

You can make the headers which you don't want to see appear as system
headers.  For example, instead of this:

	  #include "foo.h"

write this:

	  #include <foo.h>

and add -I. to the compilation switches.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019