Re: kbuild: Implicit dependence on the C compiler

From: Marcin Dalecki
Date: Tue Jan 18 2005 - 23:46:02 EST



On 2005-01-19, at 04:35, H. Peter Anvin wrote:

Matt Mackall wrote:

I would argue that "name of gcc has changed" is possibly a condition
that does more harm than good. It is just as frequently used to have
wrappers, like distcc, as it is to have different versions.
Disagree. I switch compilers all the time and kbuild does the right
thing for me.
I do occassionally feel your 'make install' pain and some sort of
'make __install' might be called for.

As I said, I don't mind the default being there, it's certainly consistent with the default being safe. However, not being able to override it is bad.

Just please consider

CC ?= gcc

instead of

CC = gcc

in Makefiles. I assume it does precisely what you want. So I think anybody arguing against
you is just arguing about a single ASCII character...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/