Build the 6.0 series for PowerPC with binutils 2.38
authorJason Self <j@jxself.org>
Sat, 22 Oct 2022 03:57:56 +0000 (20:57 -0700)
committerJason Self <j@jxself.org>
Sat, 22 Oct 2022 03:57:56 +0000 (20:57 -0700)
setup-toolchain.sh

index faf1b0ffc44f2ceb12fab90ae079eca5fb2168d2..967c8f5d17f21c369e85523c3066457ff88bb094 100755 (executable)
@@ -230,6 +230,21 @@ do
       build gcc
       reset_path
     ;;
+    powerpc-linux)
+      # The 6.0 series needs to be build with binutils 2.38
+      export binutils_version="2.38"
+      export toolchain_directory="toolchain-$gcc_version-binutils-$binutils_version"
+      reset_path
+      set_path
+      reset_path
+      set_path
+      setup_directories
+      download_source
+      setup_source
+      build binutils
+      build gcc
+      reset_path
+    ;;
     powerpc64-linux)
       # The 5.10 needs to be build with GCC 11.3
       export gcc_version="11.3.0"