This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: search subdirs for headers


    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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]