GNU bug report logs - #8076
PCH support / howto

Previous Next

Package: automake;

Reported by: Olaf van der Spek <olafvdspek <at> gmail.com>

Date: Fri, 18 Feb 2011 14:08:01 UTC

Severity: wishlist

Full log


Message #16 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Olaf van der Spek <olafvdspek <at> gmail.com>
To: Olaf van der Spek <olafvdspek <at> gmail.com>, bug-automake <at> gnu.org
Cc: Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
Subject: Re: bug#8076: PCH support / howto
Date: Sun, 27 Feb 2011 19:01:16 +0100
On Sun, Feb 27, 2011 at 1:08 PM, Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de> wrote:
> I will probably not hack on this myself (both due to time constraints
> and IMVHO limited portability/usefulness of PCH), but if somebody else

PCH is IMO very valuable. GCC, ICC and MSVC support it, I'm not sure
about other compilers.
I've read your concerns, but I think they're not an issue.

> wants to pursue it, I'd help.  The above discussions can give some
> insight into the issues around this.
>
> Hope this helps.  If you have a good solution, even if it's just for
> your project, feel free to post it here; we can link to it from the
> FAQ or so, or even put it in the manual if it is sufficiently general.

It would be nice to add PCH support to the Hello World example. I
think this requires two steps:
1. Compile config.h into config.h.gch
2. Add config.h.gch as a dependency to all source files.

Could you (or someone else) help me with those? I've got no experience
with automake but I assume they're trivial for someone with
experience.

-- 
Olaf




This bug report was last modified 13 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.