Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Gentoo This forum is for the discussion of Gentoo Linux.


  Search this Thread
Old 03-09-2013, 08:41 PM   #1
LQ Newbie
Registered: Dec 2012
Distribution: Funtoo
Posts: 5

Rep: Reputation: Disabled
Make Portage use a different compiler?

Is there a way in Gentoo/Funtoo to get portage to compile using tcc instead of gcc? I'm using Funtoo, if there would be any difference. If it is possible, can I recompile everything with tcc?
Old 03-09-2013, 11:55 PM   #2
LQ Guru
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,098

Rep: Reputation: Disabled
I fail to see benefits of this. TCC may be faster, but the resulting binaries are way less optimized. Furthermore I do not think the whole base system will build with TCC. However, if you want to try this, google for Gentoo and ICC, there are plenty of instructions how to switch.
1 members found this post helpful.
Old 03-10-2013, 04:58 AM   #3
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
You can adjust that, as Emerson said, just look for guide on setting ICC as your Gentoo compiler, the procedure should be mostly the same for any other compiler. But be warned that it won't be *that* simple. Some (or even a lot of) packages will fail to compile, and the kernel won't probably compile against anything that's not gcc unless you patch it.

If there are some other problems in the produced object code and/or the ABI and linking you will be, basically, on your own. The place to seek for support on this would be the tcc forums, mailing lists, or whatever they use. Gentoo doesn't provide support for alternative toolchains (the thing is already complex enough as it is...).
Old 03-10-2013, 10:35 AM   #4
LQ Newbie
Registered: Dec 2012
Distribution: Funtoo
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you, didn't know about that page. Going to try to get it working.


compiler, funtoo, gcc, gentoo, portage

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
[SOLVED] KDE language packs - Can I make Portage skip over them (emerge kde-meta)? rrrssssss Gentoo 4 11-08-2009 02:45 PM
make & C Compiler? Roy G. Biv Incognito 4 10-01-2009 11:05 AM
Problems emerging " /etc/make.profile symlink?" Portage tree complete? stl222 Linux - Software 2 02-11-2006 10:38 PM
Make and compiler problem fiveball02 Slackware 2 09-28-2005 10:32 PM
Specifying compiler for 'make' to use litlmary Linux - Software 5 07-01-2005 08:27 PM > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 12:43 PM.

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