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

Re: Compiling kernel for AMD CPU with gcc 3.02 How?



> >How do you tell "make-kpkg buildpackage" to use the gcc 3.02 compiler
> >instead of the gcc 2.95 'default' compiler? Sorry I can not find
> >anything about this. I ave read that this newer 3.02 compiler is
> >required for AMD chip maximizing and I have had zero luck getting a
> >kernel to build "that works" using the A7 for athlon xp 1.8 cpu
> >selection in the .config file. ANY advice is appreciated. Thanks.
> >John
>
> Revolting hack that works for me: (edit as required)
>
> su root
> cd /usr/bin
> mv gcc gcc.old
> ln -s gcc-3.02 gcc
>
> Pigeon
=====================================
I was hoping for something that would work across the system.
I was wondering if I altered the /etc/alternatives links for @cc  @cpp
@gcc   etc. to their corresponding newer versions i.e @gcc which now
points to -2.95.4  to point to -3.20 and so on....Would that work? I am
trying to avoid certain dependencies in developing .debs especially for
the AMD processor or mabe this could be set as an environment variable.
Any other ideas?
Thanks for the two methods already posted. At least I can get the kernel
compiled with those solutions.
John



Reply to: