Set the environment variable CC equal to the path to the gcc that you want
to use.

On Wed, 29 Oct 2003, James McDonald wrote:

> Hi Y'all,
>
> I'm running RH9.0 with a
>
>       gcc --version
>
> output of
>
>       gcc (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
>
> and a
>       gcc296 --version
>
> output of
>
>       2.96
>
> I've tried editing the Makefile for the linux-2.6.0-test8 source to have
>
> HOSTCC = gcc296
> HOSTCXX = g++296
> CC = gcc296
>
> But It complains about frame pointers
>
> Should I
>
> A. Just compile it with 3.2.2 (which appears to work)
> B. follow the recommendation in the kernel documentation and use 2.9x
> and if so... How do I get it to point to the gcc 2.96 compiler?
>
> ***** NEVER MIND ******
>
> I just revisited it as I was trying to write this and discovered that I had
>       CONFIG_FRAME_POINTER=y
>
> in my .config and  changing it to
>
>       # CONFIG_FRAME_POINTER is not set
>
> fixed the issue.....
>
> grrr... 4yrs of constant use and I'm still a newbie sometimes.
>
>

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                                [EMAIL PROTECTED]
Linux Step-by-step & TyGeMo                  http://netllama.ipfox.com
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to