GentooThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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...).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.