• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修訂0396be28581b1c7764226276cff6540caff38804 (tree)
時間2012-03-29 23:33:50
作者matsuand <matsuand@user...>
Commitermatsuand

Log Message

[LFS] SVN-20120328, chapter 5.

Change Summary

差異

--- a/LFS/5.04.sh
+++ b/LFS/5.04.sh
@@ -26,13 +26,19 @@ START=`date +'%Y/%m/%d %H:%M:%S.%N'`
2626
2727 cd $TARGETDIR
2828
29+echo \ \ Patching...
30+patch -Np1 -i $DLD/binutils-2.22-build_fix-1.patch \
31+ 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
32+
2933 mkdir -v ../binutils-build
3034 cd ../binutils-build
3135
3236 echo \ \ Configuring...
3337 ../binutils-$VER/configure \
34- --target=$LFS_TGT --prefix=/tools \
35- --disable-nls --disable-werror \
38+ --target=$LFS_TGT \
39+ --prefix=/tools \
40+ --disable-nls \
41+ --disable-werror \
3642 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1
3743
3844 echo \ \ Making...
--- a/LFS/5.05.sh
+++ b/LFS/5.05.sh
@@ -3,7 +3,7 @@
33 THISFILE=`basename $0`
44 CHAP=`echo $THISFILE | sed s/\.sh//`
55
6-VER=4.6.3
6+VER=4.7.0
77 TARGET=gcc-$VER
88 TARGETBALL=$TARGET.tar.bz2
99 TARGETDIR=$TARGET
@@ -38,29 +38,25 @@ mv -v mpc-$VER_mpc mpc
3838
3939 START=`date +'%Y/%m/%d %H:%M:%S.%N'`
4040
41-#echo \ \ Patching...
42-#patch -Np1 -i $DLD/gcc-$VER-cross_compile-1.patch \
43-# 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
44-
4541 mkdir -v ../gcc-build
4642 cd ../gcc-build
4743
4844 echo \ \ Configuring...
49-../gcc-$VER/configure \
50- --target=$LFS_TGT \
51- --prefix=/tools \
52- --disable-nls \
53- --disable-shared \
54- --disable-multilib \
55- --disable-decimal-float \
56- --disable-threads \
57- --disable-libmudflap \
58- --disable-libssp \
59- --disable-libgomp \
60- --disable-libquadmath \
61- --enable-languages=c \
62- --without-ppl \
63- --without-cloog \
45+../gcc-$VER/configure \
46+ --target=$LFS_TGT \
47+ --prefix=/tools \
48+ --disable-nls \
49+ --disable-shared \
50+ --disable-multilib \
51+ --disable-decimal-float \
52+ --disable-threads \
53+ --disable-libmudflap \
54+ --disable-libssp \
55+ --disable-libgomp \
56+ --disable-libquadmath \
57+ --enable-languages=c \
58+ --without-ppl \
59+ --without-cloog \
6460 --with-mpfr-include=$(pwd)/../gcc-$VER/mpfr/src \
6561 --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
6662 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1
--- a/LFS/5.06.sh
+++ b/LFS/5.06.sh
@@ -3,7 +3,7 @@
33 THISFILE=`basename $0`
44 CHAP=`echo $THISFILE | sed s/\.sh//`
55
6-VER=3.2.11
6+VER=3.3
77 TARGET=linux-$VER
88 TARGETBALL=$TARGET.tar.xz
99 TARGETDIR=$TARGET
--- a/LFS/5.07.sh
+++ b/LFS/5.07.sh
@@ -3,9 +3,9 @@
33 THISFILE=`basename $0`
44 CHAP=`echo $THISFILE | sed s/\.sh//`
55
6-VER=2.14.1
6+VER=2.15
77 TARGET=glibc-$VER
8-TARGETBALL=$TARGET.tar.bz2
8+TARGETBALL=$TARGET.tar.xz
99 TARGETDIR=$TARGET
1010
1111 echo $CHAP: $TARGET
@@ -26,11 +26,13 @@ START=`date +'%Y/%m/%d %H:%M:%S.%N'`
2626
2727 cd $TARGETDIR
2828
29+sed -i 's#$ac_includes_default#\n\n#' sysdeps/i386/configure
30+
31+sed -i 's#/var/db#/tools/var/db#' Makeconfig
32+
2933 echo \ \ Patching...
3034 patch -Np1 -i $DLD/glibc-$VER-gcc_fix-1.patch \
3135 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
32-patch -Np1 -i $DLD/glibc-$VER-cpuid-1.patch \
33- 1>> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
3436
3537 mkdir -v ../glibc-build
3638 cd ../glibc-build
@@ -40,11 +42,17 @@ case `uname -m` in
4042 esac
4143
4244 echo \ \ Configuring...
43-../glibc-$VER/configure --prefix=/tools \
44- --host=$LFS_TGT --build=$(../glibc-$VER/scripts/config.guess) \
45- --disable-profile --enable-add-ons \
46- --enable-kernel=2.6.25 --with-headers=/tools/include \
47- libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes \
45+../glibc-$VER/configure \
46+ --prefix=/tools \
47+ --host=$LFS_TGT \
48+ --build=$(../glibc-$VER/scripts/config.guess) \
49+ --disable-profile \
50+ --enable-add-ons \
51+ --enable-kernel=2.6.25 \
52+ --with-headers=/tools/include \
53+ libc_cv_forced_unwind=yes \
54+ libc_cv_ctors_header=yes \
55+ libc_cv_c_cleanup=yes \
4856 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1
4957
5058 echo \ \ Making...
--- a/LFS/5.09.sh
+++ b/LFS/5.09.sh
@@ -26,14 +26,21 @@ START=`date +'%Y/%m/%d %H:%M:%S.%N'`
2626
2727 cd $TARGETDIR
2828
29+echo \ \ Patching...
30+patch -Np1 -i ../binutils-2.22-build_fix-1.patch \
31+ 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1
32+
2933 mkdir -v ../binutils-build
3034 cd ../binutils-build
3135
3236 echo \ \ Configuring...
3337 CC="$LFS_TGT-gcc -B/tools/lib/" \
34- AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \
35- ../binutils-$VER/configure --prefix=/tools \
36- --disable-nls --with-lib-path=/tools/lib \
38+AR=$LFS_TGT-ar \
39+RANLIB=$LFS_TGT-ranlib \
40+../binutils-$VER/configure \
41+ --prefix=/tools \
42+ --disable-nls \
43+ --with-lib-path=/tools/lib \
3744 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1
3845
3946 echo \ \ Making...
--- a/LFS/5.10.sh
+++ b/LFS/5.10.sh
@@ -3,7 +3,7 @@
33 THISFILE=`basename $0`
44 CHAP=`echo $THISFILE | sed s/\.sh//`
55
6-VER=4.6.3
6+VER=4.7.0
77 TARGET=gcc-$VER
88 TARGETBALL=$TARGET.tar.bz2
99 TARGETDIR=$TARGET
@@ -29,7 +29,8 @@ rm -fr gcc-build
2929 cd $TARGETDIR
3030
3131 echo \ \ Patching...
32-patch -Np1 -i $DLD/gcc-$VER-startfiles_fix-1.patch || exit 1
32+patch -Np1 -i $DLD/gcc-$VER-startfiles_fix-1.patch \
33+ 1> $LOG/$CHAP.$TARGET.0_patch.log 2>&1 || exit 1
3334
3435 cp -v gcc/Makefile.in{,.orig}
3536 sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in
@@ -76,14 +77,22 @@ cd ../gcc-build
7677
7778 echo \ \ Configuring...
7879 CC="$LFS_TGT-gcc -B/tools/lib/" \
79- AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib \
80- ../gcc-$VER/configure --prefix=/tools \
81- --with-local-prefix=/tools --enable-clocale=gnu \
82- --enable-shared --enable-threads=posix \
83- --enable-__cxa_atexit --enable-languages=c,c++ \
84- --disable-libstdcxx-pch --disable-multilib \
85- --disable-bootstrap --disable-libgomp \
86- --without-ppl --without-cloog \
80+AR=$LFS_TGT-ar \
81+RANLIB=$LFS_TGT-ranlib \
82+../gcc-$VER/configure \
83+ --prefix=/tools \
84+ --with-local-prefix=/tools \
85+ --enable-clocale=gnu \
86+ --enable-shared \
87+ --enable-threads=posix \
88+ --enable-__cxa_atexit \
89+ --enable-languages=c,c++ \
90+ --disable-libstdcxx-pch \
91+ --disable-multilib \
92+ --disable-bootstrap \
93+ --disable-libgomp \
94+ --without-ppl \
95+ --without-cloog \
8796 --with-mpfr-include=$(pwd)/../gcc-$VER/mpfr/src \
8897 --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
8998 1> $LOG/$CHAP.$TARGET.1_conf.log 2>&1 || exit 1