Installing EGCS 1.1 on MachTen 4.1.1 or CodeBuilder 1.1


These are the instructions for installing the egcs-1.1b development tools that are available with the MachTen 4.1.1 CD into a MachTen 4.1.1 system. Basically all that is needed is to find the correct tar file, copy it to /, untar it and make a small set of corrections. The corrections relate to four libraries installed in: "/MachTen_Folder/Tenon Libraries/Tenon Application Libraries" that have .2.9.0 attached to their names and therefore do not overwrite the equivalent versions already in the Application Libraries directory. The old versions need to be moved to a "Disabled" folder by hand.

Note: These instructions can also apply to CodeBuilder.

Here are the steps:

  1. (Insert the MachTen 4.1.1 CD)
  2. Start/Restart MachTen
  3. mount
  4. (should show /Volume/CDROM/Source_FFS on /base/src)
  5. cd /base/src/gnu
  6. cp egcs-1.1b.machten.bin.tgz /
  7. cd /
  8. tar xvfz egcs-1.1b.machten.bin.tgz
  9. cd "/MachTen_Folder/Tenon Libraries/Tenon Application Libraries"
  10. mv libc-yp libio libiostream libstdc++ Disabled
  11. (restart MachTen)

That should do it. After restart you can check that then new tools are installed by running:

gcc --version

it should return:

egcs-2.91.57

We are heavily using the new tools for our internal development here at Tenon. They produce better code and seem to have more features implemented.