Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: carlson@lambik.zko.dec.com (Tom Carlson)
Subject: Re: [Q] switches of Alpha C compiler
Date: 10 Feb 1995 15:26:29 GMT	[thread overview]
Message-ID: <3hg0j5$gd@jac.zko.dec.com> (raw)
In-Reply-To: 792198360.AA00653@krypta.snafu.de


>> I'm planing to implement C source codes to DEC Alpha machines.
>> It is seemed one of big problems is the codes have many identifications
>> of 'integer' casts and `long' ones. 
>> As I have few knowledge on the DEC Alpha compiler, please let me know
>> the compiler has any convienient switches
>> to redefine 'long' and 'unsigned long' casts as 4 bytes integer 
>> rather than 8 bytes ones ?
>>
>> Please EMAIL any responses.
>> Thanking you in advance.
>> ----
>> Tetsuro Kuge <kuge@strl.nhk.or.jp>

This was answered off-line.

> I'm quite sure that I'm late with this, coming through from Fidonet, but  
> just in case:)
>
> Say
>
> $ CC/STANDARD=VAXC ...
>
> and feel good.

On AlphaVMS, sizeof(long) and sizeof(unsigned long) is still 4, no matter 
how you slice it.  

Doesn't mean you can't feel good, though...

Tom


--

Thomas Carlson,   DEC C/ DEC C++     carlson@decc.enet.dec.com
Digital Equipment Corporation,  ZK2-3/N30           
110 Spitbrook Rd,
Nashua, NH  03062


  reply	other threads:[~1995-02-10 15:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-06 19:30 [Q] switches of Alpha C compiler Wolfram Jahn
1995-02-10 15:26 ` Tom Carlson [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-02-01  1:04 Tetsuro KUGE
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox