Skip to content

Instantly share code, notes, and snippets.

View immolo's full-sized avatar

Immolo immolo

View GitHub Profile
@thesamesam
thesamesam / gentoo-crossdev.md
Last active November 8, 2025 11:36
Gentoo cross compilation instructions (crossdev -> stage3)

Cross instructions

These instructions cover:

  1. building a cross toolchain
  2. populating the new ROOT
  3. making it chrootable using qemu-user to easily run "native" builds or tests (this is like a stage3 at the end)

You do not need to follow through to the end if you don't need a stage3-like root.

Set up the toolchain