summaryrefslogtreecommitdiff
path: root/cross/README
blob: a77b1eb5c3c53f72b2380fd8d5e8b55406baad96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Build order

* $target-binutils
* cross-$target-gcc-core
* $target-linux-api-headers
* cross-$target-glibc-headers
* cross-$target-gcc-core-shared
* $target-glibc
* $target-gcc
* $target-glibc with BOOTSTRAPING=false

cross-* packages are used to bootstrap the full toolchain for the first time,
you'll only need binutils, linux-api-headers, glibc and gcc once you're done.


# Create a new toolchain

Copy the base PKGBUILDS from mips64el-unknown-linux-gnu and change this part of
the names to your target. At the header of each PKGBUILD there're several
variables to configure the target system. Take note some require other manual
changes, like final gcc.