No forces rebuild while changing GCC?

From: Jan-Benedict Glaw
Date: Thu May 20 2004 - 13:17:44 EST


Hi!

I'm currently playing with patches for gcc HEAD to build a vax-linux
cross-compiler. For testing it, I first want to build parts of the
kernel with my HEAD toolchain, Ctrl-C, and continue/finish building with
my old compiler (2.95.2).

I do changing gcc by putting one or the other gcc into $PATH. However,
whenever I change GCC, kbuild decides to rebuild everything.

I tried to not overwrite compile.h (my commenting out the mv command in
scripts/mkcompile_h), but that didn't help either. I even tried
recompiling my HEAD gcc with exactly the same version string that my old
gcc had, but that didn't work either:(

How can I force to keep my old .o files?

MfG, JBG

--
Jan-Benedict Glaw jbglaw@xxxxxxxxxx . +49-172-7608481
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak!
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

Attachment: signature.asc
Description: Digital signature