compilare sparc-gcc e sparc-binutils su CENTOS: sudo yum install gmp-devel sudo yum install mpfr-devel (scaricarle da internet e usare rpm --force --nodep se non le trova) // export TARGET = sparc-sun-solaris2.8 export PREFIX = /opt/$TARGET-toolchain export SYSROOT= $PREFIX/sysroot sudo mkdir $PREFIX sudo mkdir $SYSROOT cd ~ mkdir temp cd temp wget http://ftp.gnu.org/gnu/binutils/binutils-2.20.tar.gz wget http://ftp.gnu.org/gnu/gcc/gcc-4.4.2/gcc-4.4.2.tar.gz tar -xzf binutils-2.20.tar.gz tar -xzf gcc-4.4.2.tar.gz mkdir build-binutils mkdir build-gcc cd build-binutils ../binutils-2.20/configure -target=$TARGET --prefix=$PREFIX -with-sysroot=$SYSROOT -v sudo make all sudo make install cd ../build-gcc ../gcc-4.4.2/configure --target=$TARGET --wth-gnu-as --with-gnu-ld --prefix=$PREFIX -wth-sysroot=$SYSROOT --dsiable-libgc \ --without-headers sudo make -k sudo make install