Crossdev

is Article description::a set of wrapper scripts that provides cross-compilation capability to [[Portage.]] It is written in and is dependent on a basic Gentoo subsystem.

crossdev was originally written by.

Crossdev overlay
will place the ebuilds/categories it generates into one of four places, in this order:


 * 1) An  ebuild repository specified on the command-line with the    option
 * 2) An  ebuild repository named 'cross-${CTARGET}'
 * 3) An  ebuild repository named 'crossdev'
 * 4) It then falls back on the ebuild repository having the lowest priority value in 
 * 5) If it falls back on ebuild repositories that have the same priority, it will use the first ebuild repository alphabetically

Most users will want to prevent crossdev from disturbing configured ebuild repositories. One solution is to create an ebuild repository for crossdev, in order to avoid it from choosing a seemingly random repository to store packages in:

If the Gentoo ebuild repository is synchronized using Git, or any other method with Manifest files that do not include checksums for ebuilds, prevent "masked by: corruption" errors with:

Then instruct Portage and crossdev to use this ebuild repository:

Usage
Please note that the  option (for stable) should not be used on arches with no stable keywords or a mixed (unstable, inconsistent) profile, e.g.  or.

Invocation
To see the supported architectures, C libraries, and special targets:

Removal
To remove a crossdev-generated toolchain, you must set the  flag  the   flag using the target tuple you want to remove, for example: