The first step is to become the root user. Enter the super user command followed by the root password. For example:
$ su Password: PASSWORD #
The next step is to insert the CD-ROM into the CD-ROM drive, and mount the CD-ROM as an ISO9660 file system. We assume your CD-ROM is mounted at /mnt/cdrom.
# mount /mnt/cdrom # ls /mnt/cdrom AUTHORS NEWS benchmarks demo html tests COPYING README contrib dist manuals INSTALL THANKS dasia examples src
There are two distribution files for GNU/Linux as follows:
gcc-1750-1.2-i386-linux-1.3.tar.gz, which is built for systems that use libc version 5 (libc.so.5)
gcc-1750-1.2-i386-linux-2.2.tar.gz, which is built for systems that use libc version 6 (libc.so.6)
You will require approximately 20MB of disk space to complete the installation. To check disk space, use the df -k command:
# df -kl /opt Filesystem 1024-blocks Used Available Capacity Mounted on /dev/hdb1 2028098 1052980 870296 55% / #
You should then uncompress and un-tar the distribution file at the top level of the directory tree. If you have the GNU version of tar, then you can uncompress and un-tar with a single command, as follows:
# cd / # tar zxvf /mnt/cdrom/dist/gcc-1750-1.2-i386-linux-2.2.tar.gz opt/xgc/lib/gcc-lib/m1750-coff/2.8.1/ opt/xgc/lib/gcc-lib/m1750-coff/2.8.1/include/ opt/xgc/lib/gcc-lib/m1750-coff/2.8.1/cc1 ... lots of output
Before you unmount the CD-ROM, you may wish to copy the examples, demonstration and benchmarks to your local file-system.
# umount /mnt/cdrom
Users of GCC-1750 will need to add the directory /opt/xgc/bin to their path.