Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: what version of linux kernel?  (Read 4164 times)

0 Members and 1 Guest are viewing this topic.

smeezekitty

  • Guest
what version of linux kernel?
« on: September 02, 2009, 12:49:15 PM »
what ersion of the kernel can i compile with gcc 3?
could be 3.3 but i know its gcc 3
i tried kernel 2.4 bug got a boatload of errors

Geek-9pm


    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: what version of linux kernel?
« Reply #1 on: September 02, 2009, 01:05:33 PM »
Here is a link for 2.6
http://www.cyberciti.biz/tips/compiling-linux-kernel-26.html

But if you really want 2.4 you have to follow this guide:

Kernel Rebuild Guide
by
Kwan Lowe


http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

Short answer, don't use gcc 3.


smeezekitty

  • Guest
Re: what version of linux kernel?
« Reply #2 on: September 02, 2009, 01:11:02 PM »
Quote
Short answer, don't use gcc 3.
whats wrong with gcc 3?
-
thats kind of all i got right now

Geek-9pm


    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: what version of linux kernel?
« Reply #3 on: September 02, 2009, 03:33:24 PM »
whats wrong with gcc 3?
-
thats kind of all i got right now

Nothing is wrong with it. If you want to compile the kernal you have two choices.
1. Do it just the way the Kernel Rebuild Guide recommends.
-OR-
2. Edit the source file and and the scripts so that gccc 3 does not report errors.

Contrary to what they say, any C compiler is not a universal tool that works well on any published and proven source code. Just a fact of life. This is not a slam of the C language. This kind of problem exists in most current complied languages.

But if you do get it to work on the 2.4 source code, please let others know how you did it.
Here is a link that refers to 2.6 and gcc 3 and implies that it may not work.
http://thomer.com/linux/migrate-to-2.6.html