search subdirs for headers

Karsten Loeffler karsten.loeffler@uni-tuebingen.de
Wed Dec 15 03:08:00 GMT 1999


Thank You Joe,
wether this was the answer I feared.

karsten

Joe Durusau wrote:

>     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?
>



More information about the Gcc-help mailing list