Summary: | wrong gcc gets used when cross compiling with distcc | ||
---|---|---|---|
Product: | Portage Development | Reporter: | James Boddington (RETIRED) <aiken> |
Component: | Core | Assignee: | Lisa Seelye (RETIRED) <lisa> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | azarah, dev-portage, gcc-porting, iggy, mholzer, pappy, zwelch |
Priority: | High | ||
Version: | 2.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 18933, 29558 | ||
Bug Blocks: | 17858 |
Description
James Boddington (RETIRED)
2003-03-22 22:03:36 UTC
Apparently, the correct form is to specify CC=$CHOST-gcc when you give emerge. (Yes, it's a little annoying) Ref: http://bugs.gentoo.org/show_bug.cgi?id=17237 and others... Jesu What I had done was modify my /etc/env.d/gcc/i686-pc-linux-gnu-3.2.2 I put the fully qualified gcc name for CC and CXX. Followed by gcc-config i686-pc-linux-gnu-3.2.2 && . /etc/profile This way the use of the full name was automatic. Distcc cross platform now works transparently for me. I'm stealing this bug because 1) Nick has enough on his plate and 2) this is a bug that can be fixed with the new version of gcc-config I am working on. I am blocking this bug with that one and I'll add some functionality to address this directly. is this a dead bug? comment #2 covers it all i believe which leads us to Bug 29558 |