From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4afb2796f99104fc X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-02-10 07:26:29 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!news.mathworks.com!hookup!swrinde!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!caen!crl.dec.com!crl.dec.com!jac.zko.dec.com!lambik.zko.dec.com!carlson From: carlson@lambik.zko.dec.com (Tom Carlson) Newsgroups: comp.sys.dec Subject: Re: [Q] switches of Alpha C compiler Date: 10 Feb 1995 15:26:29 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <3hg0j5$gd@jac.zko.dec.com> References: <792198360.AA00653@krypta.snafu.de> Reply-To: carlson@lambik.zko.dec.com (Tom Carlson) NNTP-Posting-Host: lambik.zko.dec.com X-Newsreader: mxrn 6.18-16 >> 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 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