From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5ef6d36a7112afa9 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-02-09 07:11:13 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!torn!news2.uunet.ca!promis.com!news.promis.com!capkun From: capkun@pluto.dev.promis.com (Joe Capkun) Subject: Re: -taos option on ld? Message-ID: Sender: usenet@promis.com (USENET News System) Organization: Promis Systems Corp. References: <2j4u35$37r@st-james.comp.vuw.ac.nz> Date: Wed, 9 Feb 1994 15:11:13 GMT 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