🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.cray
Article #323

Re: Compilation of gcc/g++ on ymp-el?

#323
From: Mark Justin Cecil
Date: Fri, 23 Jun 1995 00:00
47 lines
2772 bytes
toby@hobbes.nas.nasa.gov (Toby E. Harness) writes:

>mjc@nuance.com (Mark Justin Cecil) writes:
>; 
>; No one I know of has ever compiled gcc on a Cray of any type.
>; 
>; We have been over this a hundred times...  Unless you just want 
>; to use the preprocessor only, porting GCC is pointless.  The Cray
>; folks have spent a LOT of time and money building a really good
>; C compiler, and I have doubts as to whether the UNIX/GNU community
>; could ever put in enough time to approach its effectiveness.

>hmmm, I don't know about that.  I'd wager SUN has put more hours into their
>C compiler than CRI into theirs,  and gcc out-performs SUN's.  ('Course,
>there is much more interest in SUNs in the "UNIX/GNU community" than in
>CRI systems.)  But, whatever ...

I'd bet not.  But, regardless of the time spent, you won't find a group
of people that understand how to compile fast code on a Cray better than the
compilers people at Cray.  

As far as the "of any type" clause there, I was kindly corrected and made
aware (duh) that the CS6400 (Sun SPARC machine running a modified SOLARIS
2.X for the unfamiliar) will run gcc/g++.  I should have qualified my
statement.  I tend not to think of the 6400 as a Cray, but as Cray's 
SPARC machine...

My statement should have read:
"No one I know of has ever compiled gcc on a Cray PVP of any type."

>The neat hack here is to write a gcc back-end (code generator) that
>generates vanilla ANSI C.  Why have a C compiler generate C?  So you can use
>all the nifty options of gcc, and support GNU tools based on gcc, not
>the least of which is g++.  Feed the vanilla C through Cray's C for
>your vectorization and such.

Or, get Cray to port the GNU tools to the SCC environment, and add nifty
GCC-like options to SCC...  If you were the NSA, you could get 'em to at
least look at it...

Mark

--
======USASSDC Simulation Center===Huntsville, AL===http://sc-www.army.mil=====
Mark Justin Cecil    |  "Doing absolutely        |    mjc@sc-emh1.army.mil
Cray Systems Analyst |   nothing... at the       |       mjc@nuance.com
(205) 955-4777       |   speed of light."        | http://sc-www.army.mil/~mjc
Technical Details
Message-ID: <3selil$hpf@fly.HiWAAY.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3scf6b$h4g@news.duke.edu> <3sci7n$jtd@drogheda.nuance.com> <DALort.Bpx@cnn.nas.nasa.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f65d0,9306ff1bcb6e8b71
X-Google-Attributes: gidf65d0,public
X-Google-Thread: 10eb55,95341354f73a82f6
X-Google-Attributes: gid10eb55,public
From: mjc@nuance.com (Mark Justin Cecil)
Subject: Re: Compilation of gcc/g++ on ymp-el?
Date: 1995/06/23
Message-ID: <3selil$hpf@fly.HiWAAY.net>
X-Deja-AN: 104877479
distribution: inet
references: <3scf6b$h4g@news.duke.edu> <3sci7n$jtd@drogheda.nuance.com> <DALort.Bpx@cnn.nas.nasa.gov>
organization: HiWAAY Information Services
newsgroups: comp.unix.cray,gnu.gcc