[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setting default compiler version



Lee Braiden wrote:

> I'm sure there's an official way to do this.  If nothing else, you can
> edit the global make defaults (probably in /usr/share somewhere?), and
> redefine CC
> etc. that way.  Otherwise, you can set the CC variable and similar
> variables in the system-wide profile.

O.k., I consider doing that.

> I just use a shell script that sets up the variables, then gives me an new
> interactive shell to do compilations etc.
> 
> Note that not everything compiles on GCC 4 yet, so even when you get this
> working, it might not be as useful as you expect :(

As for now, I just need to test gcc 3.4, not gcc 4. But what you said
could, of course, apply to gcc 3.4, too. 

One problem is, that e.g. the nvidia modules does not load into the
kernel when compiled with 3.4, for the kernel was compiled using 3.3.x.





Martin



Reply to: