Changes between Version 7 and Version 8 of Ticket #1019, comment 3


Ignore:
Timestamp:
Oct 17, 2015, 5:53:30 PM (9 years ago)
Author:
William Harrington

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1019, comment 3

    v7 v8  
    66
    77'''Section 5.13 GCC 5.2.0 static'''
    8 
     8{{{
    99AR=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}}}
    1011
    1112'''Section 5.15 GCC 5.2.0 Final:'''
    12 
     13{{{
    1314AR=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}}}
    1416
    1517'''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{{{
     19cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \
     20`dirname $($CLFS_TARGET-gcc -print-libgcc-file-name)`/include-fixed/limits.h
     21}}}
     22{{{
    2023../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}}}
    2125
    2226remove sed for LIBS and INC
     
    2731libstdcxx-time looks like auto is best for configure to use[[BR]]
    2832precompiled libstdcxx pch header should probably keep that. Still undecided[[BR]]
     33{{{
     34SED=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}}}
    2936
    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]]
     37Add a compatibility symlink to enable building programs with Link Time Optimization (LTO)
     38{{{
     39install -v -dm755 /usr/lib/bfd-plugins
     40ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/5.1.0/liblto_plugin.so /usr/lib/bfd-plugins/
     41}}}