This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: an interesting idea, but...
- To: zack@rabi.columbia.edu
- Subject: Re: an interesting idea, but...
- From: Geoff Keating <geoffk@ozemail.com.au>
- Date: Sat, 26 Sep 1998 12:37:01 +1000
- CC: libc-hacker@cygnus.com
- References: <199809231300.JAA16292@rabi.phys.columbia.edu>
> 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>