bug#8076: PCH support

2011-12-24 Thread Russ Allbery
Olaf van der Spek m...@vdspek.org writes: Why not? It can drastically reduce build times of C++ projects. I have little experience with C projects, but I assume it speeds those up as well. It's unlikely to help a great deal with most C projects, since most C headers just aren't very

bug#8076: PCH support

2011-12-24 Thread Olaf van der Spek
On Fri, Dec 23, 2011 at 10:11 PM, Dave Hart daveh...@gmail.com wrote: Another monkey wrench is gcc and Visual C++ have different models for how PCH is implemented.  Support in Automake would ideally target both Have they? AFAIK they're equivalent. by finding a compatible subset.  I'm sure

bug#8076: PCH support

2011-12-24 Thread Olaf van der Spek
On Fri, Dec 23, 2011 at 5:46 PM, Stefano Lattarini stefano.lattar...@gmail.com wrote: First, I know basically nothing about PCH, and it seems to me that it is not a feature many users would require or employ. Why not? It can drastically reduce build times of C++ projects. I have little

bug#8076: PCH support

2011-12-24 Thread Olaf van der Spek
On Fri, Dec 23, 2011 at 9:51 PM, Warren Young war...@etr-usa.com wrote: I think the idea is that if autoconf detects that PCH is available and automake generates the correct compiler commands to use it, it will be there for free to any user of the autotools.  Builds just get magically faster.

bug#8076: PCH support

2011-12-23 Thread Stefano Lattarini
On 12/23/2011 09:51 PM, Warren Young wrote: On 12/23/2011 9:46 AM, Stefano Lattarini wrote: I know basically nothing about PCH, The only important thing to know is that it's a way to make the compiler dump its parse tree to disk during compilation so that it can simply reload that state

bug#8076: PCH support / howto

2011-03-03 Thread Olaf van der Spek
On Sun, Feb 27, 2011 at 7:01 PM, Olaf van der Spek olafvds...@gmail.com wrote: On Sun, Feb 27, 2011 at 1:08 PM, Ralf Wildenhues ralf.wildenh...@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

bug#8076: PCH support / howto

2011-02-27 Thread Olaf van der Spek
On Sun, Feb 27, 2011 at 1:08 PM, Ralf Wildenhues ralf.wildenh...@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

bug#8076: PCH support / howto

2011-02-24 Thread Olaf van der Spek
On Fri, Feb 18, 2011 at 1:58 PM, Olaf van der Spek olafvds...@gmail.com wrote: Hi, I just read http://sources.redhat.com/automake/automake.html#Examples but didn't find anything on PCH. Would it be possible to include a 'Hello World' style use of PCH? Somebody? -- Olaf