Talk:Changing the CHOST variable

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 20:20, 13 June 2024 (UTC)
:: Your reply ~~~~

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)