Talk:Changing the CHOST variable
From Gentoo Wiki
Note
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (
~~~~
), and indent successive comments with colons (:
).
Add new sections at the bottom of the page, under a heading (== ==
). Please remember to mark sections as "open for discussion" using {{talk|open}}
, so they 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)