LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-24-2005, 06:15 PM   #1
puretears
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Rep: Reputation: 0
How to Compile Linux kernel by GCC4.0.0


As the title, can anyone tell me the question? Some drivers can't pass compilation. thanks
 
Old 04-24-2005, 08:33 PM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
I don't know, but gcc-2.95.3 is still the official kernel compiler .
 
Old 04-24-2005, 09:18 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
GCC4 is only very new, you'll need to either hack away at the kernel source yourself or wait for either kernel or gcc patches to start appearing before the two will play nicely together.
 
Old 04-25-2005, 06:11 AM   #4
puretears
LQ Newbie
 
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks everyone
It seems that the better way is hacking the source code. If I success,
I'll share some experience!
 
Old 04-25-2005, 11:30 AM   #5
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Quote:
Originally posted by Linux.tar.gz
I don't know, but gcc-2.95.3 is still the official kernel compiler .
Yes it is.............when you build an LFS system............you install this version of Gcc just to compile the kernel because 2.95.3 is the most solid/stable to compile with..........
 
Old 04-25-2005, 02:55 PM   #6
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Quote:
Originally posted by freakyg
Yes it is.............when you build an LFS system............you install this version of Gcc just to compile the kernel because 2.95.3 is the most solid/stable to compile with..........
/usr/src/linux/README
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compling kernel using gcc4 linuxmandrake Debian 7 09-30-2005 02:01 PM
Howto: Compile fglrx module under Gcc4 CodyNF86 Linux - Software 0 07-30-2005 04:35 PM
Linux Kernel 2.6.11 Compile Error Jacky Quah Linux - General 1 05-30-2005 04:41 PM
compile new linux kernel isilinux Linux - General 2 01-26-2005 10:39 AM
Linux Kernel Compile Problems gamehack Slackware 4 04-18-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration