Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Older gcc/newlib no longer available from devkitpro.org (404 errors when running build-devkit.sh) #3

Open
benryves opened this issue Apr 17, 2024 · 0 comments

Comments

@benryves
Copy link

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:

  1. Edit build-devkit.sh and change the git:// URIs to https:// ones in the gitrepos=... lines.
  2. 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.
  3. 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
  1. 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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant