-
Notifications
You must be signed in to change notification settings - Fork 3
Description
devkitpro.org no longer hosts gcc-8.3.0.tar.xz or newlib-1.20.0.tar.gz, resulting in 404 errors when attempting to run build-devkit.sh
Fortunately there is a patch for the later gcc 9.1.0 but that's not hosted there either! However the installer will check for a copy of the archive in the working directory before downloading, so downloading and copying the archives there first seems to work.
I was also unable to check out the Git repositories via the git:// URIs, however changing these to https:// got things working.
To summarise:
- Edit build-devkit.sh and change the git:// URIs to https:// ones in the gitrepos=... lines.
- Edit select_toolchain.sh and change GCC_VER=8.3.0 to GCC_VER=9.1.0 in the "4" ) case near the bottom of the file.
- Before running build-devkit.sh download gcc 9.1.0 and newlib 1.20.0 with
wget https://ftp.gnu.org/gnu/gcc/gcc-9.1.0/gcc-9.1.0.tar.xz
wget ftp://sourceware.org/pub/newlib/newlib-1.20.0.tar.gz
- Run build-devkit.sh and hopefully have success!
I did run into a further complication with an "'aclocal-1.15' is missing on your system" error message when trying to build the tools which I don't fully understand. However, entering
cd .devkitSH4/elf2d01-master
autoreconf -f -i
touch aclocal.m4 configure
cd ../..
...and re-running build-devkit.sh managed to build the tools successfully..