Re: [Compilercache-general] Hmm, an idea came up my mind...
Brought to you by:
erikyyy
From: Erik T. <er...@er...> - 2001-10-30 22:00:52
|
On Tue, Oct 30, 2001 at 11:45:04AM +0100, Jochen Voss wrote: > 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. no this is no problem since the output of "gcc -v" is also used for hash value computation. you'll never get the output of a gcc-1 compiler when compiling exactly the same file with exactly the same options but a gcc-2 compiler. > > Jochen > -- > http://www.mathematik.uni-kl.de/~wwwstoch/voss/ > > _______________________________________________ > Compilercache-general mailing list > Com...@li... > https://lists.sourceforge.net/lists/listinfo/compilercache-general -- Name: Erik Thiele \\\\ Email: er...@er... o `QQ'_ WWW: http://www.erikyyy.de/ / __8 ' ` |