Talk:Embedded Handbook/General/Cross-compiling with Portage

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]] 02:53, 25 June 2024 (UTC)
:: Your reply ~~~~

Installing to a different ROOT

Talk status
This discussion is still ongoing.

We can use these tools for both installing into your development root (sysroot) and into your runtime root. For the latter, simply specify by using the --root option.

The part about installing to a different ROOT looks like it is not valid anymore, since EAPI 7 enforces that SYSROOT must match ROOT when cross-compiling[1]

It is still possible to do this if both `--root` and `--sysroot` options are given, but the target directory should have /etc/portage/make.profile link.

Should it be updated?

--Axkn (talk) 21:46, 5 April 2021 (UTC)