search subdirs for headers

Joe Durusau durusau@delphi.com
Tue Dec 14 08:43:00 GMT 1999


    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



More information about the Gcc-help mailing list