Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TARGET=arm-none-symbianelf
- # Installation folder
- GCCC=gcc-5.3.0-2
- PREFIX=/usr/local/$GCCC
- PATH=$PATH:$PREFIX/bin
- unset CFLAGS
- export CFLAGS+="-pipe"
- # ------------------
- BINUTILS=binutils-2.26
- if [ -d ./build-binutils2 ] ; then
- rm -rf ./build-binutils2
- mkdir build-binutils2
- else
- mkdir build-binutils2
- fi
- cd build-binutils2
- make clean
- # make distclean
- ../$BINUTILS/configure --target=$TARGET --prefix=$PREFIX \
- --enable-ld --enable-vtable-verify --enable-languages="c,c++" \
- --enable-werror=no --without-headers --disable-nls --disable-shared \
- --disable-libstdcxx --disable-libquadmath --enable-plugins \
- --enable-multilib --enable-gold --enable-lto --enable-threads
- # --without-mpc --without-mpfr --without-gmp --without-isl
- make
- make install-strip
- # make install-pdf
- cd ..
- rundll32 powrprof.dll,SetSuspendState 0,1,0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement