bug#8076: PCH support

2011-12-24 Thread Olaf van der Spek
On Fri, Dec 23, 2011 at 9:51 PM, Warren Young 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. I don't think

bug#8076: PCH support

2011-12-24 Thread Olaf van der Spek
On Fri, Dec 23, 2011 at 10:11 PM, Dave Hart 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 there are existing

bug#8076: PCH support

2011-12-24 Thread Olaf van der Spek
On Fri, Dec 23, 2011 at 5:46 PM, Stefano Lattarini 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 experience with C projects, but I

bug#8076: PCH support

2011-12-24 Thread Russ Allbery
Olaf van der Spek 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 complicated and other

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 >

bug#8076: PCH support / howto

2011-07-01 Thread Olaf van der Spek
I think I found a way, at last: BUILT_SOURCES = config.h.gch config.h.gch: config.h ${CXXCOMPILE} -o $@ $< -- Olaf

bug#8076: PCH support / howto

2011-03-17 Thread Olaf van der Spek
On Thu, Mar 3, 2011 at 4:41 PM, Olaf van der Spek wrote: > On Sun, Feb 27, 2011 at 7:01 PM, Olaf van der Spek > wrote: >> On Sun, Feb 27, 2011 at 1:08 PM, Ralf Wildenhues >> wrote: >>> I will probably not hack on this myself (both due to time constraints >>> and IMVHO limited portability/usefu

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 wrote: > On Sun, Feb 27, 2011 at 1:08 PM, Ralf Wildenhues > 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. G

bug#8076: PCH support / howto

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

bug#8076: PCH support / howto

2011-02-27 Thread Ralf Wildenhues
severity 8076 wishlist thanks Hello Olaf, * Olaf van der Spek wrote on Thu, Feb 24, 2011 at 12:53:19PM CET: > > 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? > > Som

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 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