User forums > Help

ccache to speed up builds

<< < (2/7) > >>

frithjofh:
hi,

I just applied the changes to my settings and the compilation time of my rather small project went from 42 sec the first time down to 10 sec the second and every other time. great. I hope I am not mistaken, as there is no output whatsoever if or if not ccache really is taking part in the process, but from the times measured, it should be.

as I am on linux, I added a custom variable under "project build options"->"custom variables"  : CC=ccache_gcc . the script I put in /usr/bin

thanks

greetings from asturias

frithjofh

reckless:
happy it worked out :)

aye ccache can really speed things up  :D

ollydbg:
I'm interest in using it, but I found there is no simple instruction for Win32. No binaries can be found for Windows system. :(

reckless:
on the contrary :) ftp://90.184.233.166:21/ccache.exe

mingw win32 build.

the wrapper scripts above cannot however be used on windows unless you have the msys shell in path (baaad idea) and codeblocks bitches loudly if i use bat files as wrappers  :? so have to define CC="ccache gcc" etc directly in the makefiles.

ollydbg:

--- Quote from: reckless on May 11, 2010, 03:30:48 am ---on the contrary :) ftp://90.184.233.166:21/ccache.exe

mingw win32 build.

--- End quote ---


Thanks, I also get a response to the author of ccache, who gives me another link in : http://ramiro.arrozcru.org/ ccache-win32-1.exe


--- Quote ---the wrapper scripts above cannot however be used on windows unless you have the msys shell in path (baaad idea) and codeblocks bitches loudly if i use bat files as wrappers  :? so have to define CC="ccache gcc" etc directly in the makefiles.
--- End quote ---
But I'm not fully understand these sentence, seems we can only use ccache in MSYS shell. So, I can't directly used it in CodeBlocks IDE?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version