LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2013, 09:37 AM   #1
xtemp09
LQ Newbie
 
Registered: Mar 2013
Distribution: openSUSE
Posts: 4

Rep: Reputation: Disabled
Kernel compilation without gcc


I know that Linux kernel uses some gcc hacks, but what if we suggest to developers using standard C, will they rewrite it?

It will make kernel more flexible, facilitate porting to other platforms. ICC, open64 all of them create binaries that much faster than gcc, which seems a greedy for memory monstrous brake.

Will the developers listen to us?
 
Old 03-18-2013, 09:48 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,433

Rep: Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353
Well, bless me! A first time post with advice for kernel developers. Why are my nostrils filled with the whiff of troll bait?
 
Old 03-18-2013, 11:38 AM   #3
pp:)
LQ Newbie
 
Registered: Apr 2011
Location: Pomorze, POLAND
Distribution: Debian GNU/Linux
Posts: 3

Rep: Reputation: 0
I know about this project's

www.linuxdna.com/ => Intel C/C++ compiler compatible

llvm.linuxfoundation.org ==> llvm compiler compatible

www.phoronix.com/llvm-clang_linux_kernel
 
Old 03-18-2013, 12:11 PM   #4
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,349

Rep: Reputation: 225Reputation: 225Reputation: 225
Those "gcc hacks" offer both extra optimization AND functionality.
You can't just remove them.

What about license issues?

Join the LLVM/Clang folks if you dislike GCC that much.
http://llvm.linuxfoundation.org/index.php/Main_Page

Edit: didn't see "pp"'s post before replying ...

Last edited by jens; 03-18-2013 at 12:17 PM.
 
Old 03-18-2013, 01:42 PM   #5
xtemp09
LQ Newbie
 
Registered: Mar 2013
Distribution: openSUSE
Posts: 4

Original Poster
Rep: Reputation: Disabled
allend, your post is off-topic.

LinuxDNA is out of date.
llvm isn't icc or open64.

:'(
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Compilation & gcc dependencies vduvvuru Linux - Kernel 1 03-05-2008 07:03 AM
Kernel compilation with old GCC rangalo Slackware 3 12-14-2005 04:35 PM
should I use gcc-2.95.3 for kernel compilation shanenin Linux From Scratch 9 07-25-2004 11:24 PM
GCC version in kernel compilation Alpha_Beta Linux - Newbie 3 09-30-2003 12:39 AM


All times are GMT -5. The time now is 06:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration