Hi all,
Just came to know there is a tool called ccache which helps in faster compilation. All the tutorial is courtesy
eternalswd.
First that tool needs to be downloaded & installed :-
Now one has to set the environment up for it. There are two ways, one doing stuff in .bashrc or better yet, doing it in /etc/enviroment (globally) guessing the second is so if its a multi-user environment then everybody else also benefits. If you do the same in .bashrc then only you benefit. I went the /etc/environment way :-
The first thing is to make sure to backup your /etc/environment
Code: Select all
sudo cp /etc/environment /etc/environment_backup
Then make the changes, the path atleast in my /etc/environment was :-
Code: Select all
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
changed it so now it reads :-
Code: Select all
PATH="/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
This should make compile times faster for sure.
Debian Sid, Intel Dual-Core, 512 kbps DL , 64 Kbps UL, deluge-1.3.5, pieces plugin, GNOME 3.4.x
All posts under creative commons http://creativecommons.org/licenses/by-nc/3.0/