From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e7e632930151c4ad X-Google-Attributes: gidfa528,public From: Jeff Sullivan Subject: Re: 32-bit Applications on Tru64 Date: 2000/06/13 Message-ID: <39466380.D833224C@zk3.dec.com>#1/1 X-Deja-AN: 634039399 Content-Transfer-Encoding: 7bit References: <8hr7h1$2gg$1@nnrp2.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 960914295 12456 16.141.0.178 (13 Jun 2000 16:38:15 GMT) Organization: Compaq Computer Corporation Mime-Version: 1.0 NNTP-Posting-Date: 13 Jun 2000 16:38:15 GMT Newsgroups: comp.unix.tru64 If you're running UNIX V4.0D or later, you should look at man protect_headers_setup(8). This script will "protect" the system header files (and 64-bit interfaces) from the flags that alter the pointer size (such as -xtaso_short). There are also some online docs that you can read: http://www.tru64unix.compaq.com/faqs/publications/pub_page/doc_list.html You may want to check out the Programmer's Guide. Below is the (long) URL to the one for UNIX V5.0A, for example: http://www.tru64unix.compaq.com/faqs/publications/base_doc/DOCUMENTATION/V50A_HTML/ARH9VBTE/TITLE.HTM Appendix A describes "Using 32-Bit Pointers on Tru64 UNIX Systems" As you noted, the best alternative is to clean up the code so that you don't need to use these workarounds. Hope it helps. -Jeff