2014-03-03

Slitaz -- slitaz-arm-toolchain-20140228.tar.bz2 -2

slitaz-arm-toolchain-20140228.tar.bz2 -2
https://github.com/pirandr/slitaz-arm/blob/master/slitaz-arm-toolchain-20140228.tar.bz2

file 85363.318 kb
/cross/arm/sysroot/lib/libc-2.13.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, not stripped
1. clean-tools Clean: /cross/arm/tools
# cross --help
Usage: cross command --option
Commands:
howto Man[like] page and howto
info Display cross-tools info
testsuite Execute a small testsuite
check Check build host environment
download Download necessary sources
show-log Show a compile log
binutils Compile Binutils
linux-headers Install Kernel headers
gcc-static Compile GCC static
glibc Compile GNU Glibc
gcc-final Compile final GCC
compile Compile everything at once
clean Clean-up build environment
clean-tools Clean: /cross/arm/tools
gen-prebuilt Create a prebuilt toolchain archive

   clean-tools)
       # Remove crap :-)
       init_compile
       echo "Cleaning   : $tools ($(du -sh $tools | awk '{print $1}'))"
       for file in share/info share/man share/local
       do
           echo -n "Removing   : $file"
           rm -rf $tools/$file && status
       done
       echo -n "Stripping  : shared libs and binaries"
       find $tools/bin -type f -exec strip -s '{}' 2>/dev/null \;
       find $tools/lib -name cc1* -exec strip -s '{}' 2>/dev/null \;
       find $tools/lib -name lto* -exec strip -s '{}' 2>/dev/null \;
       find $sysroot -name "*.so*" -exec ${TARGET}-strip -s '{}' 2>/dev/null \;
       sleep 1 && status
       echo -n "Tools size : " && du -sh $tools | awk '{print $1}' ;;

2. README
Move this arm cross compilation toolchain to /usr/cross then add tools
to your PATH environment and test the toolchain:
# mv arm /cross
/usr/cross
should be /cross