*BSD News Article 12241


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!news.u.washington.edu!ns1.nodak.edu!plains.NoDak.edu!ortmann
From: ortmann@plains.NoDak.edu (Daniel Ortmann)
Newsgroups: comp.os.386bsd.questions
Subject: Re: enquire.c in GCC2.3.3
Message-ID: <C3Avpv.Huq@ns1.nodak.edu>
Date: 3 Mar 93 06:37:07 GMT
Article-I.D.: ns1.C3Avpv.Huq
References: <C3At1D.Bpw@news.cso.uiuc.edu>
Sender: usenet@ns1.nodak.edu (Usenet login)
Organization: North Dakota Higher Education Computing Network
Lines: 30
Nntp-Posting-Host: plains.nodak.edu

rkb55989@uxa.cso.uiuc.edu (Rafal) writes:
)I have a question that I have seem much discussion on, but that I haven't seen
)resolved for GCC2.3.3.
)
)When building GCC, I am unable to correctly compile enquire.  Taking someone's
)advice about 2.3.1, I compiled enquire with the old GCC [1.39], which compiles
)fine... BUT bombs in the program when attempting to report FLOAT properties.
)
)When attempting to compile it with the "partial" GCC2.3.3, I get a "floating
)point constant out of range in line 2307".  When compiling with the old GCC,
)I get an "unexpected trap" when the program starts to report FLOAT Properties.
)The program says something like "** Program got loss of precision trap!"

I just ran into that awhile ago.

My mail file is on my unix partition and I am running dos (gasp!) right
now...the long and short of it is that "enquire" may be compiled
already.  Check for the executable.  If memory serves, it creates
float.h or math.h?  (check the Makefile to be sure)

Anyway, the trap is probably a "loss of precision trap".  There are a
couple of MAX and MIN numbers that are in error in the last couple of
digits.  After you "make install" you need to edit those numbers to
slightly more accurate values.

Send me e-mail to prompt my memory and I will send you the help file I
received.  (when I have unix up)
-- 
Daniel Ortmann             NDSU Electrical Engineering
ortmann@plains.nodak.edu   Fargo, North Dakota