From 37ae3d1e2dc7cc471a7b2e79bc744410b4b5461e Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Fri, 21 Feb 2020 19:58:50 +0100 Subject: [PATCH] Updated Cross Compiler (markdown) --- Cross-Compiler.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Cross-Compiler.md b/Cross-Compiler.md index 045a245..7b9538b 100644 --- a/Cross-Compiler.md +++ b/Cross-Compiler.md @@ -2,8 +2,6 @@ This page explains how to build the cross compiler for building and running Thor Before building the compiler, you need to install the GMP, MPFR and MPC support libraries. For Debian-based systems, including Ubuntu, you should install the packages libgmp-dev, libmpfr-dev and libmpc-dev. For RPM-based systems, including Fedora and SUSE, you should install gmp-devel, mpfr-devel and libmpc-devel (or mpc-devel on SUSE) packages. -Note: This does not work anymore with GCC 6, you should compile with GCC 4.9 or GCC 5.0. - ## Prerequisites `sudo apt-get install libmpc-dev g++ nasm gcc-multilib ` also make sure that gcc is pointing to the cross compiled version after this. @@ -14,8 +12,8 @@ Download binutils and GCC mkdir $HOME/src/ cd $HOME/src/ - wget ftp://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz - wget ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.2/gcc-4.8.2.tar.gz + wget ftp://ftp.gnu.org/gnu/binutils/binutils-2.33.1.tar.gz + wget ftp://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.gz tar xvzf binutils* tar xvzf gcc*