>If you want to make sure it's working, do:
> ccache -s
>before and after running make. You should notice different numbers
under:
> cache hit
> cache miss
> files in cache
> cache size
[mahm...@milky-way VVc_diagram_2]$ ccache -s
cache directory /home/mahmood/.ccache
cache hit 0
cache miss 0
no input file 7
files in cache 0
cache size 0 Kbytes
max cache size 976.6 Mbytes
[mahm...@milky-way VVc_diagram_2]$ make
make: Nothing to be done for `all'.
[mahm...@milky-way VVc_diagram_2]$ rm *.o
[mahm...@milky-way VVc_diagram_2]$ make
/usr/bin/g++ -I../../include -I../../../Arrangement_2/include -ggdb -Wall
'-I/home/mahmood/CGAL-3.2/include/CGAL/config/i686_Linux-2.6_g++-3.3.3'
'-I/home/mahmood/CGAL-3.2/include' -I/usr/X11R6/include
-I/usr/lib/qt-3.3/include -DCGAL_USE_CGAL_CORE -c MD_demo.cpp
/usr/bin/g++ -o MD_demo MD_demo.o
'-L/home/naderan/CGAL-3.2/lib/i686_Linux-2.6_g++-3.3.3' -L/usr/X11R6/lib
-L/usr/lib/qt-3.3/lib
-Wl,-R/home/mahmood/CGAL-3.2/lib/i686_Linux-2.6_g++-3.3.3:/usr/X11R6/lib:/usr/lib/qt-3.3/lib
-lCGAL -lcore++ -lCGALQt -lqt-mt -lz -lmpfr -lgmpxx -lgmp -lX11 -lm
/usr/bin/g++ -I../../include -I../../../Arrangement_2/include -ggdb -Wall
'-I/home/mahmood/CGAL-3.2/include/CGAL/config/i686_Linux-2.6_g++-3.3.3'
'-I/home/mahmood/CGAL-3.2/include' -I/usr/X11R6/include
-I/usr/lib/qt-3.3/include -DCGAL_USE_CGAL_CORE -c VVc_demo.cpp
In file included from /home/mahmood/CGAL-3.2/include/CGAL/config.h:35,
from /home/mahmood/CGAL-3.2/include/CGAL/basic.h:28,
from VVc_demo.cpp:28:
/home/mahmood/CGAL-3.2/include/CGAL/config/i686_Linux-2.6_g++-3.3.3/CGAL/compiler_config.h:312:1:
warning: "CGAL_USE_GMP" redefined
VVc_demo.cpp:24:1: warning: this is the location of the previous definition
/usr/bin/g++ -o VVc_demo VVc_demo.o
'-L/home/mahmood/CGAL-3.2/lib/i686_Linux-2.6_g++-3.3.3' -L/usr/X11R6/lib
-L/usr/lib/qt-3.3/lib
-Wl,-R/home/mahmood/CGAL-3.2/lib/i686_Linux-2.6_g++-3.3.3:/usr/X11R6/lib:/usr/lib/qt-3.3/lib
-lCGAL -lcore++ -lCGALQt -lqt-mt -lz -lmpfr -lgmpxx -lgmp -lX11 -lm
[mahm...@milky-way VVc_diagram_2]$ ccache -s
cache directory /home/mahmood/.ccache
cache hit 0
cache miss 0
no input file 7
files in cache 0
cache size 0 Kbytes
max cache size 976.6 Mbytes
[mahm...@milky-way VVc_diagram_2]$
See that there is no difference! mean that ccache did not worked...... What
should I do then?
Mahmood NT
----- Original Message ----
From: Francois Marier <[email protected]>
To: Mahmood NT <[email protected]>
Cc: ccache list <[email protected]>
Sent: Monday, December 3, 2007 11:03:24 PM
Subject: Re: [ccache] how to use ccache
On 2007-12-03 at 04:36:47, Mahmood NT wrote:
> seems it has been successfully installed and linked. Is it the end?
If I
> use "make" without any argument or prefix or something else, will the
> compiler use cache???
If you want to make sure it's working, do:
ccache -s
before and after running make. You should notice different numbers
under:
cache hit
cache miss
files in cache
cache size
Francois
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs