Difference between revisions of "Solaris 11/SPARC64 GCC 6.1.0 cross-compiler instructions"
(Created page with " cd $HOME curl http://ftp.gnu.org/gnu/binutils/binutils-2.26.1.tar.bz2 | tar xf - curl http://ftp.gnu.org/gnu/gcc/gcc-6.1.0/gcc-6.1.0.tar.bz2 | tar xf - mkdir -p binut...") |
(No difference)
|
Revision as of 13:13, 7 June 2018
cd $HOME curl http://ftp.gnu.org/gnu/binutils/binutils-2.26.1.tar.bz2 | tar xf - curl http://ftp.gnu.org/gnu/gcc/gcc-6.1.0/gcc-6.1.0.tar.bz2 | tar xf - mkdir -p binutils-build gcc-build xgcc/sparc64-sun-solaris2.11-sysroot/usr rsync -a daffodil.mgk.ro:/export/sparc64-sun-solaris2.11-sysroot/lib xgcc/sparc64-sun-solaris2.11-sysroot/ rsync -a daffodil.mgk.ro:/export/sparc64-sun-solaris2.11-sysroot/usr/include xgcc/sparc64-sun-solaris2.11-sysroot/usr/ rsync -a daffodil.mgk.ro:/export/sparc64-sun-solaris2.11-sysroot/usr/lib xgcc/sparc64-sun-solaris2.11-sysroot/usr/ cd $HOME/binutils-build ../binutils-2.26.1/configure --prefix $HOME/xgcc --bindir $HOME/bin --disable-werror --target sparc64-sun-solaris2.11 --with-sysroot=$HOME/xgcc/sparc64-sun-solaris2.11-sysroot make -j5 && make install cd $HOME/gcc-6.1.0 contrib/download_prerequisites cd $HOME/gcc-build ../gcc-6.1.0/configure --prefix $HOME/xgcc --bindir $HOME/bin --target sparc64-sun-solaris2.11 --with-sysroot=$HOME/xgcc/sparc64-sun-solaris2.11-sysroot --enable-languages=c --with-gnu-as --with-gnu-ld make -j5 && make install