Advertisement
Guest User

Untitled

a guest
Apr 8th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. cd builds
  2. tar -xvf gcc-6.2.0.tar.bz2
  3. cd gcc-6.2.0
  4. tar -xf ../mpfr-3.1.4.tar.bz2
  5. mv -v mpfr-3.1.4 mpfr
  6. tar -xf ../gmp-6.1.1.tar.bz2
  7. mv -v gmp-6.1.1 gmp
  8. tar -xf ../mpc-1.0.3.tar.gz
  9. mv -v mpc-1.0.3 mpc
  10. cd ..
  11. mkdir -v ./gcc-build
  12. cd ./gcc-build
  13.  
  14. ../gcc-6.2.0/configure \
  15. --prefix=${CLFS}/cross-tools \
  16. --build=${CLFS_HOST} \
  17. --host=${CLFS_HOST} \
  18. --target=${CLFS_TARGET} \
  19. --with-sysroot=${CLFS}/cross-tools/${CLFS_TARGET} \
  20. --disable-nls \
  21. --disable-shared \
  22. --without-headers \
  23. --with-newlib \
  24. --disable-decimal-float \
  25. --disable-libgomp \
  26. --disable-libmudflap \
  27. --disable-libssp \
  28. --disable-libatomic \
  29. --disable-libquadmath \
  30. --disable-threads \
  31. --enable-languages=c \
  32. --disable-multilib \
  33. --with-mpfr-include=$(pwd)/../gcc-6.2.0/mpfr/src \
  34. --with-mpfr-lib=$(pwd)/mpfr/src/.libs \
  35. --with-arch=${CLFS_ARM_ARCH} \
  36. --with-float=${CLFS_FLOAT} \
  37. --with-fpu=${CLFS_FPU}
  38.  
  39. make all-gcc all-target-libgcc
  40. make install-gcc install-target-libgcc
  41.  
  42. cd ..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement