From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,2d60095dfc9873e5 X-Google-Attributes: gid111c93,public From: Jeff Sturm Subject: Re: how to compile with "-fsoft-float" Date: 1999/09/09 Message-ID: #1/1 X-Deja-AN: 522791087 References: <37CE2609.1E3D3181@ife.ee.ethz.ch> <7qmppe$f9$22@newnews.ilk.de> X-Sender: jsturm@cc42593-a.taylor1.mi.home.com Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: abuse@home.net X-Trace: news.rdc2.mi.home.com 936847073 24.7.252.3 (Wed, 08 Sep 1999 20:17:53 PDT) Organization: @Home Network MIME-Version: 1.0 NNTP-Posting-Date: Wed, 08 Sep 1999 20:17:53 PDT Newsgroups: comp.os.linux.alpha This is incorrect. The -mieee switch is a compiler option; it changes the code generated by gcc. The Alpha by itself is not fully IEEE conformant. It will generate a fp trap on NaN, Inf, underflow, etc. The -mieee flag causes gcc to insert trap barriers in the code, so the kernel can recover from traps and emulate the IEEE behavior in software. It also incurs a performance penalty, so unless you need strict IEEE behavior you are better off avoiding it. Jeff On Wed, 8 Sep 1999, Emile van bergen wrote: > > Also, why is this flag not documented in the gcc man page? Are there > > any other flags that might be of relevance to me? > > It's not exactly a flag. -mfoo tells the linker to link against libfoo.a > (statically) / libfoo.so (dynamically).