Talk:Changing the CHOST variable

From Gentoo Wiki
Jump to: navigation, search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

Should set CHOST_amd64 CHOST_x86 and CHOST_x32 for customed CHOST too?

Talk status
This discussion is done as of May 13, 2017.

I'm rebuilding toolchain using CHOST="x86_64-momoka-linux-gnu"(set from 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 make.conf(5) too

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 actually... just for fun XD.

AleiPhoenix (talk) 04:34, 31 October 2014 (UTC)

I'm going to update the guide to account for this. Michał Górny (talk) 15:35, 5 December 2017 (UTC)