From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e0098292967729fa X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-11-13 20:02:17 PST Newsgroups: comp.sys.dec Path: gmd.de!Germany.EU.net!mcsun!howland.reston.ans.net!darwin.sura.net!news-feed-2.peachnet.edu!concert!decwrl!adobe!kolling From: kolling@adobe.com (Karen Kolling) Subject: Re: Porting bad 32 bit code to Alpha??? Message-ID: <1993Nov13.183138.13021@adobe.com> Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated, Mountain View References: <2c30ipINN3cg@daisy.cis.ohio-state.edu> Date: Sat, 13 Nov 1993 18:31:38 GMT In article <2c30ipINN3cg@daisy.cis.ohio-state.edu> spiro@cis.ohio-state.edu (Spiro Michaylov) writes: > >Like many others I'm porting C code to the Alpha (OSF/1) without easy >access to documentation. Remember the stuff that assumes that pointers >fit into integers? Well, I have 20,000 lines of it. I'm told the C >compiler has a compatibility mode, but all I can find is the -taso >flag, which doesn't seem to make any obvious difference. Take a look at the man page for lint on the OSF Alpha, and in its innards somewhere it talks about the -Q switch, which basically means "tell me about size problems and be quiet about other stuff." If I remember correctly, there are various flavors of -Q. This catches most stuff. There is a DEC porting guide with other suggestions, like "grep for zot", but I don't remember it's name or order number. -- Karen Kolling kolling@adobe.com or kolling@netcom.com ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^