summaryrefslogtreecommitdiffstats
path: root/dev/ports/i686-linux-eglibc-bootstrap.mdwn
diff options
context:
space:
mode:
authorP. J. McDermott <pehjota>2012-07-10 21:46:30 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-07-10 21:46:30 (EDT)
commitd7035fe7981d5dd6d59be947a7563d6925bc7c71 (patch)
tree218057d47f5aeafbb1a501be4c3687dac6927a70 /dev/ports/i686-linux-eglibc-bootstrap.mdwn
parent7d41e83cdcdd5bd2bc27936c35f73f6871ddf197 (diff)
Briefly document i686-linux-eglibc bootstrap.
Diffstat (limited to 'dev/ports/i686-linux-eglibc-bootstrap.mdwn')
-rw-r--r--dev/ports/i686-linux-eglibc-bootstrap.mdwn76
1 files changed, 76 insertions, 0 deletions
diff --git a/dev/ports/i686-linux-eglibc-bootstrap.mdwn b/dev/ports/i686-linux-eglibc-bootstrap.mdwn
new file mode 100644
index 0000000..110ecd8
--- /dev/null
+++ b/dev/ports/i686-linux-eglibc-bootstrap.mdwn
@@ -0,0 +1,76 @@
+[[!meta title="Bootstrap of the i686-linux-eglibc Port"]]
+
+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.