Advertisement
Guest User

Untitled

a guest
Mar 30th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.84 KB | None | 0 0
  1.  
  2. TARGET=arm-none-symbianelf
  3. # Installation folder
  4. GCCC=gcc-5.3.0-2
  5. PREFIX=/usr/local/$GCCC
  6. PATH=$PATH:$PREFIX/bin
  7. unset CFLAGS
  8. export CFLAGS+="-pipe"
  9. # ------------------
  10. BINUTILS=binutils-2.26
  11.  
  12. if [ -d ./build-binutils2 ] ; then
  13.  rm -rf ./build-binutils2
  14.  mkdir build-binutils2
  15. else
  16.  mkdir build-binutils2
  17. fi
  18.  
  19. cd build-binutils2
  20. make clean
  21. # make distclean
  22. ../$BINUTILS/configure --target=$TARGET --prefix=$PREFIX \
  23. --enable-ld --enable-vtable-verify --enable-languages="c,c++" \
  24. --enable-werror=no --without-headers --disable-nls --disable-shared \
  25. --disable-libstdcxx --disable-libquadmath --enable-plugins \
  26. --enable-multilib --enable-gold --enable-lto --enable-threads
  27. # --without-mpc --without-mpfr --without-gmp --without-isl
  28.  
  29. make
  30. make install-strip
  31. # make install-pdf
  32. cd ..
  33.  
  34. rundll32 powrprof.dll,SetSuspendState 0,1,0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement