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

From Gentoo Wiki
Jump to:navigation Jump to:search
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.

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)