| Gentoo This forum is for the discussion of Gentoo Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
03-09-2013, 08:41 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2012
Distribution: Funtoo
Posts: 5
Rep: 
|
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?
|
|
|
|
03-09-2013, 11:55 PM
|
#2
|
|
Senior Member
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 2,756
Rep: 
|
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.
|
03-10-2013, 04:58 AM
|
#3
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
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...).
|
|
|
|
03-10-2013, 10:35 AM
|
#4
|
|
LQ Newbie
Registered: Dec 2012
Distribution: Funtoo
Posts: 5
Original Poster
Rep: 
|
Thank you, didn't know about that page. Going to try to get it working.
www.gentoo-wiki.info/HOWTO_ICC_and_Portage
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|