aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: ¿What is ccache?  (Read 3510 times)

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
¿What is ccache?
« on: July 02, 2008, 07:28:31 AM »

When compiling, i allways see this message:

  Should ccache support be enabled?                          no


What, exactly is ccache? should it be enabled?

Cheers!
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: ¿What is ccache?
« Reply #1 on: July 02, 2008, 07:49:39 AM »

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: ¿What is ccache?
« Reply #2 on: July 02, 2008, 08:03:46 AM »

Thanks!

"Enable ccache. This will make following compilations faster since only the modified bits of code will be recompiled."

But anyway, i download the new release everyday, delete the previous, uncompress the new release, and then configure like this:

./configure --prefix=/usr --enable-amule-gui --enable-alc --enable-alcc --enable-utf8-systray --enable-debug --disable-optimize --enable-amulecmd --enable-amule-daemon --enable-cas --enable-wxcas --enable-webserver --enable-ccache  --enable-geoip --enable-remote

But i still dont see any speed improvements.... ¿Maybe im doing something wrong?

Cheers!
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: ¿What is ccache?
« Reply #3 on: July 05, 2008, 05:16:47 PM »

Try uncompressing the new release over the old one without deleting the old one first.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: ¿What is ccache?
« Reply #4 on: July 05, 2008, 07:41:34 PM »

Is really strange because i launch the configure command with this flags:

Code: [Select]
./configure --prefix=/usr --enable-amule-gui --enable-alc --enable-alcc --enable-utf8-systray --enable-debug --disable-optimize --enable-amulecmd --enable-amule-daemon --enable-cas --enable-wxcas --enable-webserver --enable-ccache  --enable-geoip --enable-remote
And i did not realize until now, this is the report i get:
Code: [Select]
  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 yes

  **** aMule WebServer ****
  Should aMule WebServer be built?                           yes

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        yes
  Should aMuleLinkCreator for console (alcc) be built?       yes

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  yes
  Should aMule GUI Statistics (wxCas) be built?              yes
  Should xas XChat2 plugin be installed?                     yes

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.8.7 (gtk2,shared)
                                       crypto++              5.5.2 (installed, in /usr)
                                       libupnp               1.6.6
                                       regex                 system
                                       libintl               system
                                       libpng                1.2.15beta5
                                       libgd                 2.0.35
                                       zlib                  1.2.3.3

Note this line:   Should ccache support be enabled?                          no

I think i clearly specifyed the --enable-ccache flag, but it is not enabled...... ¿Why can this happen?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: ¿What is ccache?
« Reply #5 on: July 06, 2008, 04:51:14 AM »

Because for example you don't have ccache installed.
Logged
concordia cum veritate

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: ¿What is ccache?
« Reply #6 on: July 06, 2008, 03:45:52 PM »

OK! thanks for the help... i will give a try to it today.. ;)
Logged

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: ¿What is ccache?
« Reply #7 on: July 17, 2008, 05:31:32 PM »

Another question is: ¿Is ccache reliable?

I experienced some days ago something strange:

I compiled amule and i got an error (cant remember the text that appeared when the error happened)
I deleted my .ccache folder in mu /home and i compiled again: No error........

I think i will stop using it because i dont trust it 100%,..... am i paranoid? or was that error just a coincidence?

Cheers!  ;D
Logged