From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4671,65925da605c1dd50 X-Google-Attributes: gidf4671,public X-Google-Thread: fcfb9,594e400adc8f1378 X-Google-Attributes: gidfcfb9,public X-Google-Thread: 1164f8,b23f30c954cd197e X-Google-Attributes: gid1164f8,public From: neideck@kar.dec.com (Burkhard Neidecker-Lutz) Subject: Re: Will Sun leave the HW arena? Date: 1998/04/27 Message-ID: <6i1sj0$h9r@usenet.pa.dec.com>#1/1 X-Deja-AN: 348113399 References: <6hle18$ls4@usenet.pa.dec.com> Organization: CEC Karlsruhe Newsgroups: comp.os.linux.advocacy,comp.sys.sun.hardware,comp.sys.dec In article Dan.Pop@cern.ch (Dan Pop) writes: >In <6hle18$ls4@usenet.pa.dec.com> neideck@kar.dec.com (Burkhard Neidecker-Lutz) writes: >>if an application is significantly hurt by them, you >>can build them as a 32bit application on Digital Unix just the same. > >Last time I checked, this was much easier said than done. Command line >options to the compiler/linker were not enough, the code needed to be >stuffed with pragmas, otherwise calls to the library functions gave >segmentation faults. Correct. It used to be pretty hairy because there aren't any 32-bit versions of the header files or libraries. Starting in Digital Unix V4.0D, the C and C++ compilers support a feature called -protect_headers and there is a protect_headers_setup.sh script that makes dealing with this much simpler. It allows you to set and reset the setting of the pointers sizes for the library calls more or less automatically. Burkhard Neidecker-Lutz CEC Karlsruhe , European Applied Research Center, Digital Equipment Corporation email: neideck@kar.dec.com 600 Mhz 21164, 2M Cache, 64 Mbyte SDRAM, 4.5 G USCSI Disk, CD, 2MB Graphics, Digital UNIX, $5995, see http://www.dcginc.com/unixdeal.htm