# GCC-&gcc-version; - Static

    ../gcc-&gcc-version;/configure \
      --prefix=${CLFS}/cross-tools \
      --build=${CLFS_HOST} \
      --host=${CLFS_HOST} \
      --target=${CLFS_TARGET} \
      --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \
      --disable-nls  \
      --disable-shared \
      --without-headers \
      --with-newlib \
      --disable-decimal-float \
      --disable-libgomp \
      --disable-libmudflap \
      --disable-libssp \
      --disable-libatomic \
      --disable-libquadmath \
      --disable-threads \
      --enable-languages=c \
      --disable-multilib \
      --with-mpfr-include=$(pwd)/../gcc-&gcc-version;/mpfr/src \
      --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
      --with-abi=${CLFS_ABI} \
      --with-arch=mips${CLFS_MIPS_LEVEL} \
      --with-float=${CLFS_FLOAT} \
      --with-endian=${CLFS_ENDIAN}

`--with-abi=${CLFS_ABI}`

- This option sets the ABI selected earlier.

`--with-arch=mips${CLFS_MIPS_LEVEL}`

- This option sets the MIPS architecture ISA. Generic options that apply to this book are of the form "mips${CLFS_MIPS_LEVEL}". For example, "mips1" or "mips3". For a more expanded list of choices, please see the GCC documentation at

`--with-float=${CLFS_FLOAT}`

- This option sets the floating point mode selected earlier.

`--with-endian=${CLFS_ENDIAN}`

- This option sets the endianess of the CPU selected earlier. GCC's configure scripts may not be able to determine the endianess based only on the target triplet (as other architectures do).