blob: 98daadb4e9ff80c8657555db9a5739302f2412d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
[[!meta title="Bootstrap of the i686-linux-eglibc Port"]]
This port was renamed to `i686-linux-glibc` and, along with `amd64-linux-glibc`,
bootstrapped and uploaded on 2014-03-19.
**The rest of this page is kept only for reference and historical purposes.**
---
Following is the planned procedure to bootstrap the i686-linux-eglibc port from
a core-linux-eglibc system.
This procedure assumes that all base system and build essential packages are
installed, along with libgmp-dev, libmpfr-dev, and libmpc-dev.
These steps are overly simplified and useful only as a reference.
1. Build a Compiler That Can Build Headers
==========================================
Natively build Binutils with the following architecture specifications:
* Build arch: core-linux-eglibc
* Host-arch: core-linux-eglibc
* Target arch: i686-linux-eglibc
Natively build GCC without building shared libraries and without linking
against libc with the following architecture specifications:
* Build arch: core-linux-eglibc
* Host-arch: core-linux-eglibc
* Target arch: i686-linux-eglibc
2. Build Headers
================
Cross build Linux headers with the following architecture specifications:
* Build arch: core-linux-eglibc
* Host-arch: i686-linux-eglibc
Cross build EGLIBC headers with the following architecture specifications:
* Build arch: core-linux-eglibc
* Host-arch: i686-linux-eglibc
3. Build a Compiler That Can Build a C Library
==============================================
Natively build GCC without building shared libraries with the following
architecture specifications:
* Build arch: core-linux-eglibc
* Host-arch: core-linux-eglibc
* Target arch: i686-linux-eglibc
4. Build a C Library
====================
Cross build EGLIBC with the following architecture specifications:
* Build arch: core-linux-eglibc
* Host-arch: i686-linux-eglibc
5. Build a Final Compiler
=========================
Natively build GCC with the following architecture specifications:
* Build arch: core-linux-eglibc
* Host-arch: core-linux-eglibc
* Target arch: i686-linux-eglibc
6. Build Everything for the Target
==================================
Using the new cross toolchain, cross build all packages for i686-linux-eglibc.
|