Re: precompiled header suggestion

2003-10-10 Thread Tom Tromey
adl == Alexandre Duret-Lutz [EMAIL PROTECTED] writes: adl This sounds tricky. Adding such a file as a dependency of each .o file adl means that _all_ of them will be updated whenever the .ghc changes. Good point. There are other possible approaches, though. For instance, for a given program,

Re: precompiled header suggestion

2003-10-02 Thread Alexandre Duret-Lutz
Tom == Tom Tromey [EMAIL PROTECTED] writes: [...] Tom Automake could usefully automate this. First, when building the .gch Tom file we could do automatic dependency tracking (the process of Tom building this file should support the normal -M flags). Great. Tom Also, if a .gch file is

Re: precompiled header suggestion

2003-10-02 Thread Eric Siegerman
On Fri, Oct 03, 2003 at 12:36:25AM +0200, Alexandre Duret-Lutz wrote: Tom There would also have to be a way to disable .gch support Tom for non-gcc compilers. Also I presume some libraries will also want to install such files? Can they be installed? (Is this what install-pch is about in

Re: precompiled header suggestion

2003-10-01 Thread Tom Tromey
Rob == Robert Collins [EMAIL PROTECTED] writes: Recently gcc added precompiled header support. This is mostly useful for C++, but C might benefit in some cases too. Rob Are you planning on doing this, or just sketching the design and hoping Rob for volunteer contributions? I'm hoping

precompiled header suggestion

2003-09-30 Thread Tom Tromey
Recently gcc added precompiled header support. This is mostly useful for C++, but C might benefit in some cases too. To use it, you make a special `.gch' file by compiling a bunch of .h files. Then you tell gcc to use it when compiling. Automake could usefully automate this. First, when

Re: precompiled header suggestion

2003-09-30 Thread Robert Collins
On Wed, 2003-10-01 at 04:30, Tom Tromey wrote: Recently gcc added precompiled header support. This is mostly useful for C++, but C might benefit in some cases too. Waay cool. Are you planning on doing this, or just sketching the design and hoping for volunteer contributions? What might be a