Re: ccache pitfall discovered

2002-10-29 Thread Christoph Bugel
On 2002-10-29, Muli Ben-Yehuda wrote: > On Tue, Oct 29, 2002 at 11:11:50AM +0200, Muli Ben-Yehuda wrote: > > We've had a thread recently about ccache and potential pitfalls. > > johnm on advogato has discovered one such pitfall. The details: > > > > http://www.advo

Re: ccache pitfall discovered

2002-10-29 Thread Mark Veltzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 29 October 2002 11:44, you wrote: > On Tue, Oct 29, 2002 at 11:11:50AM +0200, Muli Ben-Yehuda wrote: > > We've had a thread recently about ccache and potential pitfalls. johnm > > on advogato has discovered one such

Re: ccache pitfall discovered

2002-10-29 Thread Christoph Bugel
On 2002-10-29, Christoph Bugel wrote: > On 2002-10-29, Muli Ben-Yehuda wrote: > > We've had a thread recently about ccache and potential > > pitfalls. johnm on advogato has discovered one such pitfall. > > The details: > > > > http://www.advogato.org/pers

Re: ccache pitfall discovered

2002-10-29 Thread Christoph Bugel
On 2002-10-29, Muli Ben-Yehuda wrote: > We've had a thread recently about ccache and potential > pitfalls. johnm on advogato has discovered one such pitfall. > The details: > > http://www.advogato.org/person/johnm/diary.html?start=23 IIRC, ccache promises to produce the same

Re: ccache pitfall discovered

2002-10-29 Thread Muli Ben-Yehuda
On Tue, Oct 29, 2002 at 11:11:50AM +0200, Muli Ben-Yehuda wrote: > We've had a thread recently about ccache and potential pitfalls. johnm > on advogato has discovered one such pitfall. The details: > > http://www.advogato.org/person/johnm/diary.html?start=23 [Replying to my

ccache pitfall discovered

2002-10-29 Thread Muli Ben-Yehuda
We've had a thread recently about ccache and potential pitfalls. johnm on advogato has discovered one such pitfall. The details: http://www.advogato.org/person/johnm/diary.html?start=23 *off to download the latest ccache and see if it's broken and how hard it is to fix* ObAdvogato:

Re: ccache

2002-09-28 Thread Christoph Bugel
> " ccache is a compiler cache. It acts as a caching pre-processor to C/C++ > compilers, using the -E compiler switch and a hash to detect when a > compilation can be satisfied from cache. This often results in a 5 to 10 > times speedup in common compilations." I&#x

Re: ccache

2002-09-28 Thread Muli Ben-Yehuda
On Sat, Sep 28, 2002 at 01:03:37PM +0300, Mark Veltzer wrote: > On another note: if ccache would remove comments from sources when making MD5 > signatures like my own dependecy management tool it would be even better > (adding comments is no reason for recompilation). Anyone know

Re: ccache

2002-09-28 Thread Mark Veltzer
cess is made up of three things then you know what you can play with: 1. The sources. 2. The flags. 3. The tool chain. Since the source didn't change it means that the change could either be in the flags or in the tool chain. As far as I know ccache keeps the flags so changing them will caus

Re: ccache

2002-09-28 Thread Oleg Goldshmidt
ause I guess that in realististic situation this would be done through the preprocessor, or in some other way that affects the C code directly. In any case, I emphasize again that by no means am arguing against ccache. I am just trying to understand the implications of using it before I plunge in. -- Oleg

Re: ccache

2002-09-28 Thread Muli Ben-Yehuda
On Sat, Sep 28, 2002 at 12:09:14PM +0300, Oleg Goldshmidt wrote: > Mark Veltzer <[EMAIL PROTECTED]> writes: > > > If you think that this does not take H files into consideration you are > > wrong. As Muli rightly states ccache takes the output of gcc -M which means &g

Re: ccache

2002-09-28 Thread Oleg Goldshmidt
Mark Veltzer <[EMAIL PROTECTED]> writes: > If you think that this does not take H files into consideration you are > wrong. As Muli rightly states ccache takes the output of gcc -M which means > the ENTIRE source that the compiler sees (H files and all AFTER > preprocessor

Re: ccache

2002-09-27 Thread Muli Ben-Yehuda
On Sat, Sep 28, 2002 at 02:07:38AM +0300, Oleg Goldshmidt wrote: > Muli Ben-Yehuda <[EMAIL PROTECTED]> writes: > > > On Fri, Sep 27, 2002 at 07:42:46PM +0300, Nadav Har'El wrote: > > > > > You guys got me curious. What is that ccache? What do

Re: ccache

2002-09-27 Thread Mark Veltzer
ubt may have no foundation whatsoever, just unsubstantiated gut > feeling. Totally wrong. The basic premise of ccache is the following: IF YOU RUN THE SAME COMPILER ON THE SAME SOURCE YOU SHOULD GET THE SAME OBJECT FILE. If you think that this does not take H files into consideration you are

Re: ccache

2002-09-27 Thread Oleg Goldshmidt
Muli Ben-Yehuda <[EMAIL PROTECTED]> writes: > On Fri, Sep 27, 2002 at 07:42:46PM +0300, Nadav Har'El wrote: > > > You guys got me curious. What is that ccache? What does it cache? Is it > > free software? > > compiler cache. It caches intermediate object fil

Re: ccache

2002-09-27 Thread Muli Ben-Yehuda
On Fri, Sep 27, 2002 at 07:42:46PM +0300, Nadav Har'El wrote: > You guys got me curious. What is that ccache? What does it cache? Is it > free software? compiler cache. It caches intermediate object files, so that they don't need to be recompiled if you do the equivalent o

Re: ccache

2002-09-27 Thread Amir Tal
On Friday 27 September 2002 19:42, Nadav Har'El wrote: > On Fri, Sep 27, 2002, Muli Ben-Yehuda wrote about "Re: ccache": > > On Fri, Sep 27, 2002 at 03:52:31PM +0300, Amir Tal wrote: > > > recently, i saw something about ccache. i've read the documentation,

Re: ccache

2002-09-27 Thread Nadav Har'El
On Fri, Sep 27, 2002, Muli Ben-Yehuda wrote about "Re: ccache": > On Fri, Sep 27, 2002 at 03:52:31PM +0300, Amir Tal wrote: > > recently, i saw something about ccache. i've read the documentation, and > > downloaded the latest ccache (1.9). its installed, but before

Re: ccache

2002-09-27 Thread Muli Ben-Yehuda
On Fri, Sep 27, 2002 at 03:52:31PM +0300, Amir Tal wrote: > hi, > > i am not a developer. > actualy, i cant code at all. Well, what are you waiting for? :) > recently, i saw something about ccache. i've read the documentation, and > downloaded the latest ccache (1

ccache

2002-09-27 Thread Amir Tal
lot of time. recently, i saw something about ccache. i've read the documentation, and downloaded the latest ccache (1.9). its installed, but before i'll try using it, i was wondering if anyone has any expirience with it, compiling large ammounts of code, and if there's anythin