[10940] in Athena Bugs
Re: gcc on sun sparcs
daemon@ATHENA.MIT.EDU (Reid M. Pinchback)
Fri Sep 10 12:46:01 1993
To: dewey@Athena.MIT.EDU
Cc: wdc@Athena.MIT.EDU, testers@Athena.MIT.EDU
In-Reply-To: Your message of Fri, 10 Sep 93 12:30:37 -0400.
Date: Fri, 10 Sep 93 12:45:35 EDT
From: "Reid M. Pinchback" <reidmp@Athena.MIT.EDU>
Bill wrote:
>The gcc we used required explict options to tell it where everything is.
>When we built we used a script which did the right thing.
>When we deployed the suns, we were not allowed to deploy our script because
>that would conflict with the Sun CC that we are finally getting.
>The cc script I use is the following two lines:
...
>NOTE!!!!! If you are teaching people to use ANSI C, remove the "-traditional"
>flag.
Life is even easier if you use the version of the gcc compiler
installed in the cygnus locker, which also contains g++ and various
gnu compiler utilities, for Sun, RS/6000, and DECstation. The version
of gcc is slightly newer than the version of gcc installed on the
Sun/Solaris packs, and the startup scripts already do the right
things. From the Athena prompt, just do:
athena% add cygnus
athena% /mit/cygnus/gcc <filenames, options, etc.>
You will probably want to use the path prefix as I indicated above,
since there are other versions of gcc located in various lockers on
Athena (and this also applies to any make files you write). There is
a file called "README.athena" in the top level of the cygnus locker
that describes the contents and how they are organized.
-----------
Reid M. Pinchback
Faculty Liaison
Academic Computing Services, MIT