About This Guide

This guide describes the components of MIPSpro compiler system, other programming tools and interfaces, and dynamic shared objects (DSO). It also explains ways to improve program performance.

The SGI compiler systems produce either new 32-bit (n32) object code, 64-bit object code, or old 32-bit (o32) object code. This guide describes the MIPSpro compilers that produce new 32-bit and 64-bit object code. For additional information about n32 and 64-bit compilation, see the MIPSpro 64-Bit Porting and Transition Guide and the MIPSpro N32 ABI Handbook. For information about compilers that produce old 32-bit objects, refer to the MIPS O32 Compiling and Performance Tuning Guide.

This guide is written for anyone who wants to program effectively using the MIPSpro compilers. It is written for a reader who is familiar with the IRIX (or UNIX) operating system and a programming language such as C or Fortran. This guide does not explain how to write and compile programs.

This guide does not cover all of the differences between n32, 64, and o32 compilation modes. Refer to the MIPSpro 64-Bit Porting and Transition Guide and the MIPS O32 Compiling and Performance Tuning Guide for information about the differences between these modes, language implementation differences, source code porting, compilation issues, and run-time execution.

Be sure to read the Release Notes for your compiler. They contain important information about this release of the MIPSpro compiler system.

Related Publications

The following documents contain information that may be useful as you use the MIPSpro compilers:

  • MIPSpro Fortran Language Reference Manual, Volume 1

  • MIPSpro Fortran Language Reference Manual, Volume 2

  • MIPSpro Assembly Language Programmer's Guide

  • Application Programmer's I/O Guide

  • SpeedShop User's Guide

  • ProDev WorkShop: Debugger User's Guide

  • ProDev WorkShop: Performance Analyzer User's Guide

  • ProDev WorkShop: Tester User's Guide

  • dbx User's Guide

  • Origin 2000 and Onyx2 Performance Tuning and Optimization Guide

  • MIPSpro N32 ABI Handbook

  • MIPSpro 64-Bit Porting and Transition Guide

  • Getting Started with XFS Filesystems

  • System V Applications Binary Interface--Revised First Edition. Prentice Hall, ISBN 0-13-880410-9

  • System V Application Binary Interface MIPS Processor Supplement. Prentice Hall, ISBN 0-13-880170-3.

Related Fortran Publications

The following commercially available reference books are among those that you should consult for more information on the history of Fortran and the Fortran language itself:

  • Adams, J., W. Brainerd, and J. Martin. Fortran 95 Handbook : Complete ISO/ANSI Reference. MIT Press, 1997. ISBN 0262510960.

  • Chapman, S. Fortran 90/95 for Scientists and Engineers . McGraw Hill Text, 1998. ISBN 0070119384.

  • Chapman, S. Introduction to Fortran 90/95. McGraw Hill Text, 1998. ISBN 0070119694.

  • Counihan, M. Fortran 95 : Including Fortran 90, Details of High Performance Fortran (HPF), and the Fortran Module for Variable-Length Character Strings. UCL Press, 1997. ISBN 1857283678.

  • Gehrke, W. Fortran 95 Language Guide. Springer Verlag, 1996. ISBN 3540760628.

  • International Standards Organization. ISO/IEC 1539-1:1997, Information technology -- Programming languages -- Fortran. 1997.

  • Metcalf, M. and J. Reid. Fortran 90/95 Explained . Oxford University Press, 1996. ISBN 0198518889.


The following conventions are used throughout this document:




This fixed-space font denotes literal items such as commands, files, routines, path names, signals, messages, and programming language structures.


Italic typeface denotes variable entries and words or concepts being defined.

user input 

This bold, fixed-space font denotes literal items that the user enters in interactive sessions. (Output is shown in nonbold, fixed-space font.)

[ ] 

Brackets enclose optional portions of a command or directive line.


Ellipses indicate that a preceding element can be repeated.

Obtaining Publications

You can obtain SGI documentation in the following ways:

  • See the SGI Technical Publications Library at http://docs.sgi.com. Various formats are available. This library contains the most recent and most comprehensive set of online books, release notes, man pages, and other information.

  • If it is installed on your SGI system, you can use InfoSearch, an online tool that provides a more limited set of online books, release notes, and man pages. With an IRIX system, select Help from the Toolchest, and then select InfoSearch. Or you can type infosearch on a command line.

  • You can also view release notes by typing either grelnotes or relnotes on a command line.

  • You can also view man pages by typing man title on a command line.

Reader Comments

If you have comments about the technical accuracy, content, or organization of this publication, contact SGI. Be sure to include the title and document number of the publication with your comments. (Online, the document number is located in the front matter of the publication. In printed publications, the document number is located at the bottom of each page.)

You can contact SGI in any of the following ways:

  • Send e-mail to the following address:

    [email protected]

  • Use the Feedback option on the Technical Publications Library Web page:


  • Contact your customer service representative and ask that an incident be filed in the SGI incident tracking system.

  • Send mail to the following address:

    Technical Publications
    1600 Amphitheatre Parkway, M/S 535
    Mountain View, California 94043-1351

  • Send a fax to the attention of “Technical Publications” at +1 650 932 0801.

SGI values your comments and will respond to them promptly.