Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: capkun@pluto.dev.promis.com (Joe Capkun)
Subject: Re: -taos option on ld?
Date: Wed, 9 Feb 1994 15:11:13 GMT	[thread overview]
Message-ID: <capkun.760806673@news.promis.com> (raw)
In-Reply-To: 2j4u35$37r@st-james.comp.vuw.ac.nz

thetroll@rata.vuw.ac.nz (The Troll) writes:

>	I have to port a printing subsystem (a replacement for lpd) to a
>DEc Alpha running OSF1.3, however it has transpired that the code suffers
>from the dreaded pointers treated as ints practice. 
>	But salvation is at hand! The documentation for cc and ld both say
>that the option -taso will get around this probelm while a clean up
>operation is done to rewrite the code. 
>	*HOWEVER* ld doesn't know about the option mentioned in the man
>page for ld! an ld -taso gives the error message that ld doesn't know
>about the flag and the link fails. 
>	This not helpful. 

>	Does anyone know how to persuade ld to use this option -taso or
>why it doesn't work on our system? Any tools that can be used to help fic
>pointer as int assumptions would als be welcomed. 

>	I note in passing that lint -Q the digital suggested method of
>finding these problems, gives line numbers that cannot be matched to the
>source files, as the lint output gives a line number the error messahe and
>no context. The line number does not correspond to lines in the raw source
>file...  this is also not helpful. 

>	Any tips or pointers to how tobdeal with this problem would be
>most appreciated. 


>--
>Alex Heatley                                Information Technology Services
>Domain: Alex.Heatley@vuw.ac.nz              Victoria University of Wellington
>Path: I don't support bang paths            P.O Box 600, New Zealand.

I had the same problem a while back.  You must install the Compiler Development
Enhancements subset, as shown in Appendix B.1 in "Guide to Installing DEC
OSF/1".  Then, ld will recognize -taso option.

-- 
-------------------------------------------------------------------------------
              Joe Capkun, capkun@promis.com
              Promis Systems Corp., Crown Life Place, North Tower,
              Toronto, Ontario, Canada, tel. +1 416 960-0960 x271


      parent reply	other threads:[~1994-02-09 15:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2j4u35$37r@st-james.comp.vuw.ac.nz>
1994-02-08  9:09 ` -taos option on ld? Paul Bininda
1994-02-09 15:11 ` Joe Capkun [this message]
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