Re: Compiling on gcc 3 in FC5

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

 



On Sat, 2006-04-01 at 23:34 -0300, Mariano López Reta wrote:
> Hello, all 
> 
> I need to compile a kernel module in FC5, but it has to be compiled using gcc 
> 3 instead of 4 (I understand that in FC5, gcc 4 is the default).
> 
> How can I do that? I mean, what commands/syntax should I use to do it?
> 
> Thanks in advance,
> 
> -- 
> Mariano López Reta
> Tortuguitas, Buenos Aires, Argentina
> 
> Registered Linux user #412032
> Count yourself at http://counter.li.org/
> 

You cannot/shouldn't use gcc3 compiled modules in a gcc4 compiled
kernel.
If you require gcc3, make sure you rebuild the kernel, from scratch
using the same kernel.

In general, all kernel build commands should be prefixed by CC=gcc32:
E.g.

export CC=gcc32
make menuconfig
make bzImage
...

Gilboa


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux