3 | | ../gcc-5.2.0/configure --prefix=/cross-tools \ |
4 | | --build=${CLFS_HOST} --target=${CLFS_TARGET} --host=${CLFS_HOST} \ |
5 | | --with-sysroot=${CLFS} --with-local-prefix=/tools \ |
6 | | --with-native-system-header-dir=/tools/include --disable-nls \ |
7 | | --disable-static --enable-languages=c,c++ --disable-multilib \ |
8 | | --with-mpc=/cross-tools --with-mpfr=/cross-tools --with-gmp=/cross-tools \ |
9 | | --with-isl=/cross-tools --with-system-zlib |
| 3 | AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ |
| 4 | ../gcc-5.2.0/configure \ |
| 5 | --prefix=/cross-tools \ |
| 6 | --build=${CLFS_HOST} \ |
| 7 | --host=${CLFS_HOST} \ |
| 8 | --target=${CLFS_TARGET} \ |
| 9 | --with-sysroot=${CLFS} \ |
| 10 | --with-local-prefix=/tools \ |
| 11 | --with-native-system-header-dir=/tools/include \ |
| 12 | --disable-shared \ |
| 13 | --with-mpfr=/cross-tools \ |
| 14 | --with-gmp=/cross-tools \ |
| 15 | --with-isl=/cross-tools \ |
| 16 | --with-mpc=/cross-tools \ |
| 17 | --without-headers \ |
| 18 | --with-newlib \ |
| 19 | --disable-decimal-float \ |
| 20 | --disable-libgomp \ |
| 21 | --disable-libssp \ |
| 22 | --disable-libatomic \ |
| 23 | --disable-libitm \ |
| 24 | --disable-libsanitizer \ |
| 25 | --disable-libquadmath \ |
| 26 | --disable-libvtv \ |
| 27 | --disable-libcilkrts \ |
| 28 | --disable-libstdc++-v3 \ |
| 29 | --disable-threads \ |
| 30 | --disable-multilib \ |
| 31 | --with-system-zlib \ |
| 32 | --enable-languages=c \ |
| 33 | --with-glibc-version=2.22 |
11 | | |
12 | | Ends up being |
13 | | |
14 | | {{{ |
15 | | AR=ar LDFLAGS="-Wl,-rpath,/cross-tools/lib" \ |
16 | | ../gcc-5.2.0/configure \ |
17 | | --prefix=/cross-tools \ |
18 | | --build=${CLFS_HOST} \ |
19 | | --target=${CLFS_TARGET} \ |
20 | | --host=${CLFS_HOST} |
21 | | --with-sysroot=${CLFS} \ |
22 | | --with-local-prefix=/tools \ |
23 | | --with-native-system-header-dir=/tools/include \ |
24 | | --disable-nls \ |
25 | | --disable-static \ |
26 | | --enable-languages=c,c++ \ |
27 | | --disable-multilib \ |
28 | | --with-mpc=/cross-tools \ |
29 | | --with-mpfr=/cross-tools \ |
30 | | --with-gmp=/cross-tools \ |
31 | | --with-isl=/cross-tools \ |
32 | | --with-system-zlib |
33 | | }}} |
34 | | |
35 | | That is the extreme case using GCC static |