RE: pch support

2006-01-14 Thread Casper Hornstrup
-devel@winehq.org; Marcus Meissner Subject: Re: pch support Hi, On 1/13/06, Rolf Kalbermatter <[EMAIL PROTECTED]> wrote: > This solution has been starting to form in my mind as well. It is even > portable to MSVC it seems with a few small modifications to winapi/msvcmaker. I came up with

RE: pch support

2006-01-13 Thread Casper Hornstrup
-devel@winehq.org; Marcus Meissner Subject: Re: pch support Hi, On 1/13/06, Rolf Kalbermatter <[EMAIL PROTECTED]> wrote: > This solution has been starting to form in my mind as well. It is even > portable to MSVC it seems with a few small modifications to winapi/msvcmaker. I came up

Re: pch support

2006-01-13 Thread Steven Edwards
Hi, On 1/13/06, Rolf Kalbermatter <[EMAIL PROTECTED]> wrote: > This solution has been starting to form in my mind as well. It is even > portable to MSVC it seems with a few small modifications to winapi/msvcmaker. I came up with a much more generic solution that will work on all compilers and doe

RE: pch support

2006-01-13 Thread Rolf Kalbermatter
> Hmm, perhaps use a CFLAGS "-include autogenerated.h" trick. > > Generate "autogenerated.h" by collecting all possible includes via > a script on "make depend", then force it into every file with > -include autogenerated.h (previously compiled to pch). > > Has the advantage that the magic is al

Re: pch support

2006-01-13 Thread Marcus Meissner
On Fri, Jan 13, 2006 at 10:47:43AM +0100, Rolf Kalbermatter wrote: > > > On Thu, Jan 12, 2006 at 09:02:42PM +0100, Rolf Kalbermatter wrote: > > > Thomas Weidenmueller wrote: > > > > > > > We've been using PCH with GCC for a long time in ReactOS, > > it's been > > > > working very well and relia

RE: pch support

2006-01-13 Thread Rolf Kalbermatter
> On Thu, Jan 12, 2006 at 09:02:42PM +0100, Rolf Kalbermatter wrote: > > Thomas Weidenmueller wrote: > > > > > We've been using PCH with GCC for a long time in ReactOS, > it's been > > > working very well and reliable. Compiling ReactOS is *a lot* > > > faster with > > > PCH enabled. > > > >

Re: pch support

2006-01-12 Thread David Laight
On Thu, Jan 12, 2006 at 09:02:42PM +0100, Rolf Kalbermatter wrote: > Thomas Weidenmueller wrote: > > > We've been using PCH with GCC for a long time in ReactOS, it's been > > working very well and reliable. Compiling ReactOS is *a lot* > > faster with > > PCH enabled. > > Basically what I get in

RE: pch support

2006-01-12 Thread Rolf Kalbermatter
Thomas Weidenmueller wrote: > We've been using PCH with GCC for a long time in ReactOS, it's been > working very well and reliable. Compiling ReactOS is *a lot* > faster with > PCH enabled. Basically what I get in MSVC 6 when modifing a header somewhere and PCH is enabled is that MSVC keeps moc

Re: pch support

2006-01-12 Thread Thomas Weidenmueller
blem with it and should compile everything properly without any additional hacks (without PCH support of course). - Thomas

Re: RFC: pch support

2006-01-12 Thread Martin Fuchs
Hello Steven, > Alexandre did not like the needed changes required to add support for > this but I figured I would throw it out for debate anyway in case > anyone else can make him change his mind (duck). The issue is he does > not like needing a single header per-program or per dll. After doing >

RE: pch support

2006-01-12 Thread Peter Åstrand
On Thu, 12 Jan 2006, Rolf Kalbermatter wrote: I've had issues with header changes with MSVC precompiled headers too. Sometimes the only solution is to disable precompiled headers and delete the pch file. For fairness I have to say that I'm still using MSVC 6 so there is a good chance that more r

RE: pch support

2006-01-12 Thread Rolf Kalbermatter
o be compilable on many different systems besides standard Linux, has certainly a lot more possible difficulties with header conflicts than most other systems. > problem: > ccache works great for speeding up compiles but seems to still have > issue with some header changes. Also the ReactOS

RFC: pch support

2006-01-11 Thread Steven Edwards
eally want to add pch support to the Wine dlls that are shared so the job falls to me to sell it to Wine. Solution: Below are the benchmarks from my box and a patch. Simply patch your tree and then ./configure and cd to the regedit folder and do a 'time make','make clean','