🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.cray
Article #330

Re: Basic for the Cray

#330
From: Toon Moene
Date: Sat, 30 Aug 1997 00:00
32 lines
2028 bytes
balaji@nexus.yorku.ca (Balaji) wrote:

> Toon Moene <toon@moene.indiv.nluug.nl> writes:

> >Exactly, that was why I was so interested in a port of gcc to the C90 - 
> >because that's *not* trivial (if there's interest, I can explain _why_ 
> >it's not trivial ;-)

> Ok, I'll bite. _Why_ is it non-trivial? Especially, more non-trivial
> than, say, cc?

Recently, someone posted a description on egcs@cygnus.com and the gcc2 
backend mailing list about his port of gcc + binutils to a series of Texas 
Instrument's DSPs.  Because these cpu's don't have byte-addressability, he 
decided to make sizeof(char) == sizeof(short) == sizeof(int) == sizeof(float) 
== 1.

The same trick can't be pulled for a C90, because the underlying operating 
system and system libraries assume sizeof(char) == 1, sizeof(short) == 
sizeof(int) == sizeof(float) == 8.  Besides, a character pointer under UNICOS 
is an interesting ;-) object.

cc'd to gnu.gcc.help for some more opinion ;-)

Note: Opinions on free software are free, as is the software is itself.

-- 
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.ai.mit.edu; NWP: http://www.knmi.nl/hirlam
Technical Details
Message-ID: <5u9r1d$r5t$1@news.utrecht.NL.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <5tl9a9$3i4_002@mlsmith.ktis.net> <5tn95j$hi2$1@news.utrecht.NL.net> <5tnbpl$190_002@mlsmith.ktis.net> <tw3enyr7br.fsf@lmspc1.ibs.fr> <5tsi81$67b$1@news.utrecht.NL.net> <balaji.872962686@nexus.yorku.ca>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,5d775f0eb95d8b03,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 10eb55,863fb63401e7878b
X-Google-Attributes: gid10eb55,public
From: Toon Moene <toon@moene.indiv.nluug.nl>
Subject: Re: Basic for the Cray
Date: 1997/08/30
Message-ID: <5u9r1d$r5t$1@news.utrecht.NL.net>
X-Deja-AN: 269097513
Distribution: inet
References: <5tl9a9$3i4_002@mlsmith.ktis.net>  <5tn95j$hi2$1@news.utrecht.NL.net> <5tnbpl$190_002@mlsmith.ktis.net> <tw3enyr7br.fsf@lmspc1.ibs.fr> <5tsi81$67b$1@news.utrecht.NL.net> <balaji.872962686@nexus.yorku.ca>
Organization: Moene Computational Physics, Maartensdijk, The Netherlands
Newsgroups: comp.unix.cray,gnu.gcc.help