MacPorts GCC 4.9 Binary Installer For PowerPC Mac OS X Tiger
Put together by Alex Free. Release 1, 11/25/2020.
Background
GNU GCC 4.9 requires many dependencies and bootstrap compilers when compiling completely from source using MacPorts for PowerPC Mac OS X 10.4 Tiger. All together, compiling this can easily take a day or 2.
This installer on the other hand takes just under 2 hours on my Mac to install everything. Essentially, the installer temporarily changes the MacPorts configuration files to use a local source for obtaining the ports tree and binary archives. After doing so, the ports tree is synced, binaries are installed, all changes are reverted, and finally the ports tree is synced with MacPorts proper. Your system remains untouched, besides the addition of the new compiler and it's dependencies.
Disclaimer
- The following MacPorts ports will be automatically uninstalled if they are found to be installed:
apple-gcc42 cctools cloog gcc_select gettext gmp gpref isl isl18 ld64 ld64-97 libgcc7 libgcc6 libiconv libmacho-headers libmpc libunwind-headers mpfr ncurses xz zlib gcc49
This is because this installer will install them. At the end of the install, 'port sync' will also be run, updating your ports tree.