This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


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

Re: an interesting idea, but...


> Date: Wed, 23 Sep 1998 09:00:04 -0400
> From: Zack Weinberg <zack@rabi.columbia.edu>

> It's worth a try, but I think the main performance penalty is from
> scanning the -I list over and over again.  Cpplib wouldn't help that
> much.

Make a directory containing symlinks to all the used header files
(perhaps only those in sysdep/ directories).  Then only one -I
directory need be searched.

[Alternatively, implement something like ld.so.cache for cpp...]

-- 
Geoffrey Keating <geoffk@ozemail.com.au>


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