On Tuesday 14 December 2004 05:27, Nicolai Haehnle wrote: > Hi, > > On Monday 13 December 2004 18:29, Kronos wrote: > > In this way calling: > > CC=gcc-3.4 make > > does the Right Thing > > The base DRM Makefile doesn't pass the CC on either, and this may or may > not be with good reason. AFAIK kernel code can be rather dependant on the > exact compiler version used, so it's probably a good idea to always use the > same compiler for both the kernel itself and all modules. > > Perhaps somebody with more experience in this area wants to comment?
Consider the inverse case, where you built the kernel with gcc3.3, but have mostly changed your userspace to 3.4, and don't really feel like rebuilding the whole kernel. I know that's bitten me more than once before. I don't object to the change. On 2.6 at least the kernel will refuse to load modules compiled with a different compiler version. - ajax
pgpccWPyLWMK6.pgp
Description: PGP signature