* Re: -taos option on ld?
[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
1 sibling, 0 replies; 2+ messages in thread
From: Joe Capkun @ 1994-02-09 15:11 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread