LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kernel compiling (https://www.linuxquestions.org/questions/linux-general-1/kernel-compiling-26457/)

Rex_chaos 07-24-2002 07:20 AM

kernel compiling
 
Hi there,
I wonder if we must use gcc v2.9.x or earlier to compile kernel-2.4.18. I have upgraded the gcc to 3.0 and tried to recompile the kernel. However, there are lots of warning.

The second question is that while compiling it reports the compiling is incomplete because of the problem of the clock.
WHY?

Thanks in advance.

rverlander 07-24-2002 07:22 AM

You need gcc 2.95 or older to compile kernel 2.4.x. 3.x or 2.96 won't work.

BTW just change the time!

acid_kewpie 07-24-2002 07:26 AM

2.96 does work. there are reliability bugs for 2.96 but i've not had any problems personally, the kernel i'm using now was compiled on 2.96

sarin 07-24-2002 07:32 AM

I too compiled it using 2.96, No problems yet. But Acid, is it possible that some features that he needs want 2.95?

--Sarin

Rex_chaos 07-24-2002 07:39 AM

I want to install gcc 2.95, but I can't uninstall the gcc 2.96 because of the dependences. I am going to use `rpm -e --nodeps` to force uninstalling the gcc. Will it cause any side effect?

I have another problem. There are severel rpm of kernel named with i386, i586, i686, etc. What's the difference? My CPU is PIII. Which kernel is suitable for me?

Thanks.

acid_kewpie 07-24-2002 07:49 AM

you should really do something like "rpm --old-package -Uvh gcc-2.95.rpm" should dismiss the dependencies.

Rex_chaos 07-24-2002 08:01 AM

So how about the second quetsion? Should I choose i686 for my PIII cpu?

acid_kewpie 07-24-2002 08:10 AM

yup


All times are GMT -5. The time now is 11:26 PM.