delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/10/16:00:53

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "A. Sinan Unur" <asu1 AT cornell DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Adding an Include Path?
Date: 10 Feb 2002 20:46:31 GMT
Organization: Cornell University
Lines: 12
Sender: asu1 AT cornell DOT invalid (on pool-141-149-206-44.syr.east.verizon.net)
Message-ID: <Xns91B1A076A8C8Easu1cornelledu@132.236.56.8>
References: <3C66CB10 DOT 5020704 AT vif DOT com>
NNTP-Posting-Host: pool-141-149-206-44.syr.east.verizon.net
X-Trace: news01.cit.cornell.edu 1013373991 15455 141.149.206.44 (10 Feb 2002 20:46:31 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 10 Feb 2002 20:46:31 GMT
User-Agent: Xnews/L5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sahab Yazdani <sahaby AT vif DOT com> wrote in news:3C66CB10 DOT 5020704 AT vif DOT com:

> is there any way to add a INCLUDE path to the list of default include 
> paths, so that the header files can be referenced via "#include <foo.h>" 
>   for instance, like the $(DJGPP)/include directory. i know it is a 
> compiler flag, but which one...

gcc -I/include/directory/path ...

info gcc invok

Sinan.

- Raw text -


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