Talk:Changing the CHOST variable
Should set CHOST_amd64 CHOST_x86 and CHOST_x32 for customed CHOST too?
I'm rebuilding toolchain using
CHOST="x86_64-pc-linux-gnu") and clearing config files under
/etc/env.d without problems on a x86_64 host.
But encounter error when emerging sys-apps/sandbox-2.6-r1. Portage tried to compiling
ABI=x86 for sandbox,
CC being set via
tc-getCC is still the old
x86_64-pc-linux-gnu-cc -m32(which is off course can't be reached).
So it looks like these CHOST flags need to be set in
CHOST="x86_64-momoka-linux-gnu" CHOST_amd64="x86_64-momoka-linux-gnu" CHOST_x86="i686-momoka-linux-gnu" CHOST_x32="x86_64-momoka-linux-gnux32"
It's acctually... just for fun XD.