summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-02 16:45:12 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-02 16:45:12 (EST)
commit30fd24ebf3d75dfbb541e5e5381eda303f45fbcb (patch)
treea5e5bdd367bad8e244e47443342d1b0f3509e034
parent2c6af80b625bb840a06fcbc602f052d4eca44299 (diff)
Fix, update, and improve TBB system procedure.
-rw-r--r--temporary-bootstrap-builder-setup.txt32
1 files changed, 13 insertions, 19 deletions
diff --git a/temporary-bootstrap-builder-setup.txt b/temporary-bootstrap-builder-setup.txt
index fda7a76..53e886d 100644
--- a/temporary-bootstrap-builder-setup.txt
+++ b/temporary-bootstrap-builder-setup.txt
@@ -35,6 +35,9 @@ Download all of the necessary source archives and branches.
$ wget ftp://ftp.gmplib.org/pub/gmp-5.0.2/gmp-5.0.2.tar.bz2
$ wget http://www.mpfr.org/mpfr-current/mpfr-3.1.0.tar.bz2
$ wget http://www.multiprecision.org/mpc/download/mpc-0.9.tar.gz
+ $ wget http://bugseng.com/products/ppl/download/ftp/releases/0.11.2/\
+ $ wget http://www.bastoul.net/cloog/pages/download/cloog-parma-0.16.1.tar.gz
+ > ppl-0.11.2.tar.bz2
$ for file in *.tar.bz2; do tar -xjf ${file}; done
$ for file in *.tar.gz; do tar -xzf ${file}; done
$ cd ..
@@ -53,7 +56,7 @@ Set up a new user.
# mkdir -pv /home/bbl
# chown -v bbl:bbl /home/bbl
# passwd bbl
- # chown -Rv fsmnt
+ # chown -Rv bbl fsmnt
Set up the toolchain work environment. Be sure to change '<BASE_DIR>' to the
absolute path to the base work directory you made earlier, and adjust the
@@ -69,7 +72,7 @@ convenience; this has no effect on the target system.
> umask 022
> BBL=<BASE_DIR>/sys/fsmnt
> LC_ALL=C
- > PATH=${BBL}/cross-tools/bin:/bin:/usr/bin
+ > PATH=<BASE_DIR>/sys/fsmnt/cross-tools/bin:/bin:/usr/bin
> export BBL LC_ALL PATH
> PS1='$ '
> unset CFLAGS
@@ -84,19 +87,9 @@ Make system directories. These commands should give you a system that is
compliant with Filesystem Hierarchy Standard version 2.3. Note that the range
syntax in many of these command lines is a non-standard feature of GNU Bash;
this may not work on other shells.
- $ mkdir -pv ${BBL}/bin
- $ mkdir -pv ${BBL}/boot
- $ mkdir -pv ${BBL}/dev
- $ mkdir -pv ${BBL}/etc{,/opt}
- $ mkdir -pv ${BBL}/home
- $ mkdir -pv ${BBL}/lib
- $ mkdir -pv ${BBL}/mnt
- $ mkdir -pv ${BBL}/opt
- $ mkdir -pv ${BBL}/proc
+ $ mkdir -pv ${BBL}/{bin,boot,dev,etc/opt,home,lib,media,mnt,opt,proc}
$ install -dv -m 0750 ${BBL}/root
- $ mkdir -pv ${BBL}/sbin
- $ mkdir -pv ${BBL}/srv
- $ mkdir -pv ${BBL}/sys
+ $ mkdir -pv ${BBL}/{sbin,srv,sys}
$ install -dv -m 1777 ${BBL}{,/var}/tmp
$ mkdir -pv ${BBL}/usr/{,local/}{bin,include,lib,sbin,share/{man,misc},src}
$ mkdir -pv ${BBL}/usr/local/{etc,games}
@@ -160,6 +153,7 @@ Install GMP for use by the cross-compiling GCC build.
$ CPPFLAGS=-fexceptions ./configure --prefix=${BBL}/cross-tools --enable-cxx
$ make
$ make install
+ $ make check
$ cd ..
$ rm -Rf gmp-5.0.2
@@ -174,8 +168,8 @@ Install MPFR for use by the cross-compiling GCC build.
$ rm -Rf mpfr-3.1.0
Install PPL for use by the cross-compiling GCC build.
- $ cp -pR ${BBL}/../../src/ppl-FIXME .
- $ cd ppl-FIXME
+ $ cp -pR ${BBL}/../../src/ppl-0.11.2 .
+ $ cd ppl-0.11.2
$ LDFLAGS="-Wl,-rpath,${BBL}/cross-tools/lib" ./configure \
> --prefix=${BBL}/cross-tools --enable-shared --enable-interfaces="c,cxx" \
> --disable-optimization --with-libgmp-prefix=${BBL}/cross-tools \
@@ -185,9 +179,9 @@ Install PPL for use by the cross-compiling GCC build.
$ cd ..
$ rm -Rf ppl-FIXME
-Install CLooG-PPL for use by the cross-compiling GCC build.
- $ cp -pR ${BBL}/../../src/FIXME .
- $ cd FIXME
+Install CLooG-parma for use by the cross-compiling GCC build.
+ $ cp -pR ${BBL}/../../src/cloog-parma-0.16.1 .
+ $ cd cloog-parma-0.16.1
$ LDFLAGS="-Wl,-rpath,${BBL}/cross-tools/lib" ./configure \
> --prefix=${BBL}/cross-tools --enable-shared --with-bits=gmp \
> --with-gmp=${BBL}/cross-tools --with-ppl=${BBL}/cross-tools