
The MIPSpro 7.4. Compiler Release 
=================================

Each MIPSpro 7.4 Compiler Language is packaged on 3 CD's.

1. MIPSpro 7.4 Compiler Execution Envrionment (EOE) CD
2. Irix Development Foundation (IDF) 1.3 CD
3. MIPSpro C (or C++, F77, F90) Compiler CD 


Installation under /
====================

This example assumes that the dev and irix_dev
images have already been installed. These base images
are located on the IRIX Development Libraries CD (IDL)
and updated with each version of 6.5.x on the 
Irix 6.5.x Installation Tools and Overlays CD's.

To install the MIPSpro 7.4 compiler products
on top of an earlier MIPSpro release under / 
use the inst command as follows:

(NOTE: This will remove the previous versions of the compiler)


#1  With the MIPSpro 7.4 Compiler EOE CD in CDROM drive

#inst -f /CDROM/dist

Inst> keep * (or the shorthand k *)

If this is a scratch install do:
Inst> install installable (or the shorthand i A)

Or if this is an upgrade do:
Inst> install Upgrade (or the shorthand i U)

Inst> go

#2  With the IRIX Development Foundation (IDF) 1.3 CD 
    in the CDROM drive

Inst> from /CDROM/dist

Inst> keep * (or the shorthand k *)

If this is a scratch install do:
Inst> install installable (or the shorthand i A)

Or if this is an upgrade do:
Inst> install Upgrade (or the shorthand i U)

Inst> go

NOTE:
If running C or C++ on IRIX 6.5.18 or later you MUST
INSTALL patchSG0004605 from the Irix Development Foundation
(IDF) 1.3 CD. That patch is NOT installable on systems
prior to 6.5.18.



#3  With the MIPSpro 7.4 C CD in the 
    CDROM drive


Inst> keep * (or the shorthand k *)

If this is a scratch install do:
Inst> install installable (or the shorthand i A)

Or if this is an upgrade do:
Inst> install Upgrade (or the shorthand i U)

Inst> go

To install other compilers go back to step #3.

For more information, see the installation instructions 
in the Irix Development Foundation Release notes.
(#relnotes idf 1)


Installation under alernate root
================================

Installation of the images and overlays to an alternate root 
location under modules essentially follows the same procedure 
as above, except that inst(1) is given an alternate root 
location at which the rulesoverride option must be set to 
install the overlays.

For example, if MIPSpro 7.4 is to be  
installed under /opt/MIPSpro/74, 
you would use the following procedure:

1.  Install the modules system if it is not there. 

    # versions modules

     I = Installed, R = Removed

     Name                 Date        Description

     I  modules              11/13/2000  Modules Package 2.2.2.5
     ....

     For your convenience modules are on the IDF 1.3 CD and can
     be installed under / as follows:

==  With the Irix Development Foundation (IDF) 1.3 CD 
    in the CDROM drive

     #inst -f /CDROM/dist

     Inst> keep *
     Inst> install modules

     Inst> go
     Installation takes place

     Inst> quit

     Create the directory in which you want to install the
     7.4 compilers and make a symbolic link to it, as in the
     following example:


     # mkdir -p /my7.4
     # ln -s /my7.4 /opt/MIPSpro/74


== With the MIPSpro 7.4 Compiler Execution Environment (EOE) CD
   inserted in the CDROM drive


     %inst -r /opt/MIPSpro/74 -f /CDROM/dist_modules

     Inst> set rulesoverride true
     Inst> keep *
     Inst> install *_eoe dev.sw.lib dev.sw64.lib
     Inst> go

 Installation takes place

     Inst> from /CDROM/dist

     You will see a message prompting you to be either on the
     maintenance stream or feature stream.

     Select the maintenance stream.
     1

     Inst> keep *
     Inst> install *_eoe

     Inst> go
     Installation takes place
     

==  With the Irix Development Foundation (IDF) 1.3 CD 
    in the CDROM drive

     Inst> from /CDROM/dist

     Inst> keep *
     Inst> install *_dev
     Inst> keep *.books.*

     If you are running on 6.5.18 or later INSTALL patchSG0004605
     If you are running on a system prior to 6.5.18, DO NOT INSTALL 
     this patch.
     (You can check what system you are running by doing #uname -R)
    

     Inst> install patchSG0004605 (if running on IRIX 6.5.18 or LATER)


     Inst> go
     Installation takes place

==  With the MIPSpro 7.4 C CD inserted in the CDROM drive

     Inst> from /CDROM/dist
     Inst> keep *
     Inst> install *_fe


     Inst> go
     Installation takes place

     Inst> quit

  NOTE you will see this:
     ERROR: INCOMPATIBLE SUBSYSTEMS INSTALLED

     The software installed on this system has existing conflicts.
     Exit allowed because "rulesoverride" option is set.


Repeat installation of other compiler CD's by inserting
the appropriate CD's and repeating the procedure shown above for
MIPSpro 7.4 C.

     Once modules and the MIPSpro 7.4 compilers have been installed, 
     do the following steps:

     # cp /opt/modulefiles/MIPSpro  /opt/modulefiles/MIPSpro.74

     Edit /opt/modulefiles/MIPSpro.74 (#vi /opt/modulefiles/MIPSpro.74)
     and change the line:
          set MIPSPRO_LEVEL       MIPSpro

          to

          set MIPSPRO_LEVEL       74

Each user then has to do the following under his shell session to 
use MIPSpro 7.4 under modules

     % source /opt/modules/modules/init/csh (or ksh depending on your shell)
     % module load modules
     % module load MIPSpro.74
     % cc -version
     MIPSpro Compilers: Version 7.4


Identification
==============

After you have completed the installation, you can
verify that you have MIPSpro 7.4 installed, by using the
following command:

 %cc -version foo.c
 MIPSpro Compilers: Version 7.4


Caveats
=======
1. If running C or C++ on IRIX 6.5.18 or later you MUST
   INSTALL patchSG0004605 from the Irix Development Foundation
   (IDF) CD. That patch is NOT to be installed on systems
   prior to 6.5.18.

2. MIPSpro 7.4 C++ sets -LANG:std=on and 
   -LANG:libc_in_namespace_std=on by default. 

   If you require the old default behavior you will have to set
   -LANG:std=off:libc_in_namespace_std=off either on the command line, 
   in your compiler_defaults file. You can also set the new 
   SGI_C++ environment variable with that value.

3. Programs built with MIPSpro 7.3 C++ (but not any of the 7.3.1.x maintenance
   releases) that use STL containers should be recompiled with the new 
   STL header files from c++_dev. Otherwise, they may encounter the following 
   type of failure:

unresolvable symbol in
_S_free_list__Q2_3std45__default_alloc_template__pt__13_XCbL10XCiL10


