Article View: comp.unix.cray
Article #322Re: Compilation of gcc/g++ on ymp-el?
From: Toby E. Harness
Date: Fri, 23 Jun 1995 00:00
Date: Fri, 23 Jun 1995 00:00
28 lines
1963 bytes
1963 bytes
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 ...
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.
======
Toby Harness NASA Ames Research Center
(415) 604 4310 Mail Stop 258-6
toby@nas.nasa.gov Moffett Field, CA 94035-1000
11 73 CE AE DF A6 F9 D2 1E FC A2 EF F3 FD 45 02 |signature fingerprint|
Technical Details
Message-ID:
<DALort.Bpx@cnn.nas.nasa.gov>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3scf6b$h4g@news.duke.edu> <3sci7n$jtd@drogheda.nuance.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f65d0,9306ff1bcb6e8b71,start X-Google-Attributes: gidf65d0,public X-Google-Thread: 10eb55,95341354f73a82f6 X-Google-Attributes: gid10eb55,public From: toby@hobbes.nas.nasa.gov (Toby E. Harness) Subject: Re: Compilation of gcc/g++ on ymp-el? Date: 1995/06/23 Message-ID: <DALort.Bpx@cnn.nas.nasa.gov> X-Deja-AN: 104877477 distribution: inet sender: news@cnn.nas.nasa.gov (News Administrator) references: <3scf6b$h4g@news.duke.edu> <3sci7n$jtd@drogheda.nuance.com> organization: NASA Ames Research Center reply-to: toby@nas.nasa.gov newsgroups: comp.unix.cray,gnu.gcc