Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Porting bad 32 bit code to Alpha???
@ 1993-11-13 16:04 Spiro Michaylov
  1993-11-13 18:31 ` Karen Kolling
  0 siblings, 1 reply; 2+ messages in thread
From: Spiro Michaylov @ 1993-11-13 16:04 UTC (permalink / raw)



Hi folks,

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.

I've looked in the faq, but it doesn't contain any discussion of this.

Is there something obvious that I'm missing, or can someone point me to a
prior discussion of the problem, or suggest where I should look? 
In the worst case, pointers to official documentation are better than
nothing.

Thanks very much in advance,

Spiro Michaylov
Computer & Info Science, The Ohio State University



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Porting bad 32 bit code to Alpha???
  1993-11-13 16:04 Porting bad 32 bit code to Alpha??? Spiro Michaylov
@ 1993-11-13 18:31 ` Karen Kolling
  0 siblings, 0 replies; 2+ messages in thread
From: Karen Kolling @ 1993-11-13 18:31 UTC (permalink / raw)


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

 ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^ ^._.^


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-11-13 18:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-11-13 16:04 Porting bad 32 bit code to Alpha??? Spiro Michaylov
1993-11-13 18:31 ` Karen Kolling

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