From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,770d09ab025f2ec9 X-Google-Attributes: gid111c93,public From: noe@physik.unizh.ch (Norbert Paschedag) Subject: Re: DU <--> Linux FP exceptions with DU binaries Date: 1999/01/20 Message-ID: <7850a4$rki@rzurs10.unizh.ch>#1/1 X-Deja-AN: 434858703 X-NNTP-Posting-Host: 130.60.68.60 References: <781meq$12mi@rzurs10.unizh.ch> <782mmd$jci$1@news.tuwien.ac.at> X-Trace: 20 Jan 1999 17:29:58 +0100, 130.60.68.60 Organization: University of Zurich Newsgroups: comp.os.linux.alpha In article <782mmd$jci$1@news.tuwien.ac.at>, Andreas Krall wrote: >In my C-source code I use under Linux and Digital Unix I use the >following: > > >#ifdef __osf__ > >void init_exceptions(void) >{ > >#else /* Linux */ > >/* Linux on Digital Alpha needs an initialisation of the ieee floating point > control for IEEE compliant arithmetic (option -mieee of GCC). Under > Digital Unix this is done automatically. >*/ O.k, you do this if you *compile* under both Linux and DU, but I'm taking the *binary* and try to run it under both OSes. Or do you mean that I should include these calls, then compile under DU and then run the binary under Linux ? Norbert