This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: search subdirs for headers
- To: help-gcc at gnu dot org
- Subject: Re: search subdirs for headers
- From: Joe Durusau <durusau at delphi dot com>
- Date: Tue, 14 Dec 1999 11:27:37 -0500
- Newsgroups: gnu.gcc.help
- Organization: Lockheed Martin Corporation
- References: <3856500A.F187C306@uni-tuebingen.de>
- Xref: wodc7nx0 gnu.gcc.help:2203
The more-or-less standard way is to include the subdirectory in the
#include.
for example, #include <sys/time.h> . If you don't want to do that, you
most
likely will have to use the -I flag over and over again.
Speaking only for myself,
Joe Durusau
Karsten Loeffler wrote:
> How can I tell gcc to search sub dirs of -Idir for header files?
>
> thanks in advance,
> karsten