Changes between Version 7 and Version 8 of Ticket #1019, comment 3
- Timestamp:
- Oct 17, 2015, 5:53:30 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1019, comment 3
v7 v8 6 6 7 7 '''Section 5.13 GCC 5.2.0 static''' 8 8 {{{ 9 9 AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" ../gcc-5.2.0/configure --prefix=/cross-tools --build=${CLFS_HOST} --host=${CLFS_HOST} --target=${CLFS_TARGET} --with-sysroot=${CLFS} --with-glibc-version=2.11 --with-local-prefix=/tools --with-native-system-header-dir=/tools/include --disable-nls --disable-shared --with-mpfr=/cross-tools --with-gmp=/cross-tools --with-isl=/cross-tools --with-mpc=/cross-tools -without-headers --with-newlib --disable-multilib --disable-decimal-float --disable-threads --disable-libatomic --disable-libgomp --disable-libitm --disable-libquadmath --disable-libsanitizer --disable-libssp --disable-libvtv --disable-libcilkrts --disable-libstdc++-v3 --with-system-zlib --enable-languages=c --enable-checking=release 10 }}} 10 11 11 12 '''Section 5.15 GCC 5.2.0 Final:''' 12 13 {{{ 13 14 AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" ../gcc-5.2.0/configure --prefix=/cross-tools --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} --with-sysroot=${CLFS} --with-local-prefix=/tools --with-native-system-header-dir=/tools/include --disable-nls --disable-static --enable-languages=c,c++ --disable-multilib --with-mpc=/cross-tools --with-mpfr=/cross-tools --with-gmp=/cross-tools --with-isl=/cross-tools --with-system-zlib --enable-checking=release 15 }}} 14 16 15 17 '''Section 6.10 Temp System GCC 5.2.0:''' 16 17 cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \[[BR]] 18 {{{`}}}dirname $($CLFS_TARGET-gcc -print-libgcc-file-name)`/include-fixed/limits.h 19 18 {{{ 19 cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ 20 `dirname $($CLFS_TARGET-gcc -print-libgcc-file-name)`/include-fixed/limits.h 21 }}} 22 {{{ 20 23 ../gcc-5.2.0/configure --prefix=/tools --build=${CLFS_HOST} --host=${CLFS_TARGET} --target=${CLFS_TARGET} --with-local-prefix=/tools --disable-multilib --with-native-system-header-dir=/tools/include --enable-languages=c,c++ --disable-libstdcxx-pch --with-system-zlib --enable-checking=release --enable-libstdcxx-time 24 }}} 21 25 22 26 remove sed for LIBS and INC … … 27 31 libstdcxx-time looks like auto is best for configure to use[[BR]] 28 32 precompiled libstdcxx pch header should probably keep that. Still undecided[[BR]] 33 {{{ 34 SED=sed CC="gcc -isystem /usr/include" CXX="g++ -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" ../gcc-5.2.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-languages=c,c++ --disable-multilib --with-system-zlib --enable-checking=release 35 }}} 29 36 30 SED=sed CC="gcc -isystem /usr/include" CXX="g++ -isystem /usr/include" LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" ../gcc-5.2.0/configure --prefix=/usr --libexecdir=/usr/lib --enable-languages=c,c++ --disable-multilib --with-system-zlib --enable-checking=release 31 32 Add a compatibility symlink to enable building programs with Link Time Optimization (LTO):[[BR]] 33 install -v -dm755 /usr/lib/bfd-plugins[[BR]] 34 ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/5.1.0/liblto_plugin.so /usr/lib/bfd-plugins/[[BR]] 37 Add a compatibility symlink to enable building programs with Link Time Optimization (LTO) 38 {{{ 39 install -v -dm755 /usr/lib/bfd-plugins 40 ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/5.1.0/liblto_plugin.so /usr/lib/bfd-plugins/ 41 }}}