Up: SGI apps Frequently Asked Questions (FAQ)
Next: -62- Is there an SGI-compatible version of XView?
Previous: -60- Why does GNU Emacs not compile, or compile but not run?
Subject:   -61- What do I need to do to build gcc/g++?
Date: 28 Oct 1995 00:00:01 EST

  Recent versions of gcc build reliably on IRIX 4.0.x and 5.x without
  much difficulty. Just read the INSTALL document and follow the
  directions.  A few hints:

  - Don't. Several people have already, and they'll let you have a
    copy.  Even if you must do it yourself, you can bootstrap from
    someone else's binary. Furthermore, their distribution may include
    notes on how they did it, if they didn't think it was obvious.  See
    "Where can I get software already compiled for SGIs?" above.

  - You need the headers and runtime libraries from SGI's extra-cost
    development option (IDO) to compile *or use* gcc. Of course if you
    buy IDO you'll get SGI's compiler anyway; this is comp.sys.sgi.*'s
    most popular Catch-22.

  - Don't forget to install the dev.cmplrs_hdr.internal subsystem,
    which contains needed headers and is not installed by default.

  - READ THE RELEASE NOTES! gcc (and gas, etc.) are updated too
    frequently for this FAQ to document every quirk of every release.
    The release notes often describe quirks that have not yet been
    fixed.

Up: SGI apps Frequently Asked Questions (FAQ)
Next: -62- Is there an SGI-compatible version of XView?
Previous: -60- Why does GNU Emacs not compile, or compile but not run?