Re: [Compilercache-general] Hmm, an idea came up my mind...
Brought to you by:
erikyyy
From: Jochen V. <vo...@ma...> - 2001-10-30 10:45:11
|
Hi, On Tue, Oct 30, 2001 at 09:45:04AM +0000, Robert McQueen wrote: > ... You end up with multiple directories in > /usr/lib/gcc-lib/i386-linux/ such as 2.95.4, and can use command line > parameters to gcc to switch compiler versions. This case is no problem at all: to quote from the README file: But if I change compiler options like -D_REENTRANT_ or -O2 or -g ? That's actually an easy point. compilercache puts the commandline options also into the cache. If you use other commandline options, recompilation will take place. So different command line options (e.g. to choose the compiler version) will lead to different cache files. The only problem is the case, when the same command line, say "gcc -c test.c", suddenly should lead to different output, because the default behaviour of gcc changed. Jochen -- http://www.mathematik.uni-kl.de/~wwwstoch/voss/ |