*BSD News Article 48135


Return to BSD News archive

Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!newsfeed.internetmci.com!news.mathworks.com!news.kei.com!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Setting up cc/gcc
Date: 8 Aug 1995 05:00:30 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 79
Message-ID: <406r1e$3tu@sol.ctr.columbia.edu>
References: <405u92$58f@decaxp.harvard.edu>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]

Daring to challenge the will of the almighty Leviam00se,
Chao-Wei Hwang (cwhwang@fas.harvard.edu) had the courage to say:

: There are a couple of Silicon Graphics Indigo machines here at my lab on 
: which we would like to set up cc/gcc.  I have a few questions:

These questions have absolutly nothing to do with FreeBSD and belong
in different newsgroups, but I'm going to answer them anyway.

: (1) Is it true that cc or gcc is _free_ software, available by anonymous
:     ftp from _somewhere_?

Yes.

: (2) If the answer to (1) is true, then where can I get the software?  How
:     does one go about installing it?  (ie-  does the anonymous ftp site
:     just offer the source code needing own compilation, or does the site
:     offer executabe/tar-ed versions?)

It doesn't matter. Even if you had the gcc binaries you couldn't
use them because SGI does not ship header files as part of their
base OS distribution (they don't even include nroff/troff with
the base OS distribution: you need to by something called the
Documenter's Workbench to get it). If you want to get technical,
there is a stripped down compiler lurking under /var/sysgen, but
the only thing it's good for is reconfiguring the kernel.

So unless you already have the IRIX Development Option, you won't have
any include files. And the include files can't be redistributed because
of license restrictions. It's a catch-22: you can download the gcc
sources, but you can't build them, and if you had pre-compiled
binaries you couldn't compile anything with them due to the lack
of include files.

And no, you can't get around this problem with GNU libc.

(Also, even with the development option, be aware that you can't
use gcc with any of the R8000-based systems because it doesn't
support the R8000 CPUs yet. (As far as I gnow, anyway.))

: (3) If the answer to (1) is false, then who can I call to buy the software?

SGI. You need to purchase the 'IDO' (IRIX Development Option) product
for your system. This will give you the compiler, debugger, header files
and static libraries for the system, X11, Motif, OpenGL, and some other
stuff. Once you have that, you can ftp gcc from prep.ai.mit.edu:/pub/gnu
and compile it yourself. Be advised that if you also want to use gdb,
the GNU debugger, you'll need to install the GNU assembler (gas) and
you'll have to configure gcc with the --with-gnu-as option, otherwise
gdb won't be able to read the debugging info from gcc-compiled binaries.

If you want Fortran, Pascal, Power C, Power C++ or the CaseVision
development tools, you'll have to pay extra (on top of the cost of
the IDO).

:     How much does it cost?

I'm not sure exactly: Columbia has a site license agreement for this
sort of stuff, so I don't know the per-license cost. Get in touch with
your local SGI salesdroids and ask them. I'm sure they'll be delighted to
take your money.

: Thanks for any help.

: Chao-Wei Hwang
: ---
: Massachusetts General Hospital.
: Immunogenetics Laboratory & Laboratory of Surgical Research

-Bill

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Bill Paul            (212) 854-6020 | System Manager
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Møøse Illuminati: ignore it and be confused, or join it and be confusing!
~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~