Re: kernel-package gcc configuration etc. (Re: How do I do a sid upgrade and not get the gcc 3.2 stuff?)
On 25 Feb 2003 02:14:41 +0100, Mario Vukelic <mario.vukelic@dantian.org> wrote:
> On Mon, 2003-02-24 at 21:03, Faheem Mitha wrote:
>
>> So, you can still compile kernels with it, though I agree that there
>> might be some problems if everything insists on calling gcc.
>
> Set the env variable then
>
>> Hmm. Does
>> anyone know if it is currently possible to configure what version of
>> gcc to use with kernel-package?
>
> I just use
>
> root@sonic: /usr/src/linux # GCC=gcc-2.95 make-kpkg yada yada
Thanks. Are you sure you don't mean CC? I can't find this documented
anywhere in kernel-package docs, but there is the following line in
/usr/bin/make-kpkg.
my $cc = $ENV{'CC'};
I don't know perl, but it looks like it is sourcing the CC environment
variable.
Perhaps this should be added to the man page (kernel-pkg.conf
perhaps)? What do you think?
Faheem.
Reply to: