LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 08: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, 08:48 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
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, 10: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, 11:11 AM   #4
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
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 11:17 AM.
 
Old 03-18-2013, 12: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



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 06:03 AM
Kernel compilation with old GCC rangalo Slackware 3 12-14-2005 03:35 PM
should I use gcc-2.95.3 for kernel compilation shanenin Linux From Scratch 9 07-25-2004 10:24 PM
GCC version in kernel compilation Alpha_Beta Linux - Newbie 3 09-29-2003 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:17 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