Advertisement
Guest User

Untitled

a guest
Jan 18th, 2013
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. gmp:
  2. ./configure --prefix=$OUTDIR --enable-cxx
  3. make -j4 LDFLAGS="-all-static"
  4. make install
  5.  
  6. mpfr:
  7. ./configure --prefix=$OUTDIR --with-gmp=$OUTDIR
  8. make -j4 LDFLAGS="-all-static"
  9. make install
  10.  
  11. mpc:
  12. ./configure --prefix=$OUTDIR --with-gmp=$OUTDIR --with-mpfr=$OUTDIR
  13. make -j4 LDFLAGS="-all-static"
  14. make install
  15.  
  16.  
  17. ppl:
  18. ./configure --prefix=$OUTDIR --with-gmp=$OUTDIR
  19. make -j3 LDFLAGS="-all-static"
  20. make install
  21.  
  22. cloog:
  23. ./configure --prefix=$OUTDIR --with-gmp=$OUTDIR --with-ppl=$OUTDIR
  24. make -j4 LDFLAGS="-all-static" LIBS="-lstdc++ -lm"
  25. make install
  26.  
  27. binutils:
  28.  
  29. ../configure \
  30. --target=arm-none-linux-gnueabi \
  31. --prefix=/usr/src/toolchain_build/toolchain \
  32. --with-ppl=$OUTDIR \
  33. --with-build-sysroot=/usr/src/toolchain_build/arm-none-linux-gnueabi/libc \
  34. --with-sysroot=/ \
  35. --with-gmp=$OUTDIR \
  36. --with-mpfr=$OUTDIR \
  37. --with-mpc=$OUTDIR \
  38. --with-ppl=$OUTDIR \
  39. --with-cloog=$OUTDIR \
  40. --with-host-libstdcxx='-lstdc++ -lsupc++ -lm' \
  41. --with-arch=armv7-a \
  42. --with-cpu=cortex-a8 \
  43. --with-tune=cortex-a8 \
  44. --with-fpu=neon \
  45. --with-float=softfp \
  46. --with-mode=arm \
  47. --disable-nls
  48.  
  49. make configure-host
  50. make -j4 LDFLAGS="-all-static" CFLAGS="-static"
  51. make install
  52.  
  53. gcc:
  54.  
  55. ../configure \
  56. --host=i686-pc-linux-gnu \
  57. --build=i686-pc-linux-gnu \
  58. --target=arm-none-linux-gnueabi \
  59. --prefix=/usr/src/toolchain_build/toolchain \
  60. --with-ppl=$OUTDIR \
  61. --with-build-sysroot=/usr/src/toolchain_build/arm-none-linux-gnueabi/libc \
  62. --with-sysroot=/ \
  63. --with-build-time-tools=/usr/src/toolchain_build/toolchain \
  64. --enable-threads \
  65. --disable-libmudflap \
  66. --disable-libssp \
  67. --disable-libgomp \
  68. --disable-libstdcxx-pch \
  69. --with-gnu-as \
  70. --with-gnu-ld \
  71. --enable-languages=c,c++ \
  72. --enable-shared \
  73. --enable-symvers=gnu \
  74. --enable-__cxa_atexit \
  75. --disable-nls \
  76. --with-gmp=$OUTDIR \
  77. --with-mpfr=$OUTDIR \
  78. --with-mpc=$OUTDIR \
  79. --with-ppl=$OUTDIR \
  80. --with-cloog=$OUTDIR \
  81. --with-host-libstdcxx='-lstdc++ -lsupc++ -lm' \
  82. --with-arch=armv7-a \
  83. --with-cpu=cortex-a8 \
  84. --with-tune=cortex-a8 \
  85. --with-fpu=neon \
  86. --with-float=softfp \
  87. --with-mode=arm
  88.  
  89. make configure-host
  90. make -j4 LDFLAGS="-all-static"
  91. make install
  92.  
  93. make CONFIG=meta/alien-tc/fremantle-linaro-4.7-2012.09.conf -C meta/alien-tc all-sums
  94. make CONFIG=meta/alien-tc/fremantle-linaro-4.7-2012.09.conf -C meta/alien-tc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement