Return to BSD News archive
Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!darwin.sura.net!newsserver.jvnc.net!news.edu.tw!news!ccds3.ntu.edu.tw!spider!hcchu
From: hcchu@spider.ee.ntu.edu.tw (Hung-Chi Chu)
Subject: Re: Compiling gcc-2.3.3 or 2.4.2
Message-ID: <1993Jun7.041626.3236@ccds3.ntu.edu.tw>
Sender: usenet@ccds3.ntu.edu.tw (USENET PROXY ACCOUNT)
Nntp-Posting-Host: spider.ee.ntu.edu.tw
Reply-To: hcchu@spider.ee.ntu.edu.tw
Organization: Department of Electrical Engineering, National Taiwan University
References: <1unsko$rnb@stimpy.css.itd.umich.edu>
Date: Mon, 7 Jun 1993 04:16:26 GMT
Lines: 32
altitude@css.itd.umich.edu (Alexander King Tang) writes:
> Hi. I'm trying to build a newer version of gcc. I've tried 2.3.3 and 2.4.2.
> I configure it by "configure --target=-i386-ibm-bsd4.3" but when I do a
> "make LANGUAGES=c", it stops eventually. Here are the last couple of lines
> from the output.
> /xgcc -B./ -DIN_GCC -g -DNO_MEM -DNO_STDDEF -DNO_LONG_DOUBLE_IO -O0
> -I.c
> /enquire.c: In function `fprop':
> /enquire.c:2307: floating constant out of range
> *** Error code 1
>
> Stop.
>
> does anybody know what happened and what I have to do? It's happened both
> with 2.3.3 and 2.4.2. Thanx..alex...
This is an old problem. I don't know what happened, but someone (sorry, I can't
remember) told me ->
1. ignore the error and just do "make stage1" and continue.
2. edit the file "float.h" and change the LAST TWO digits of the MANTISSA
of DBL_MIN to 14
DBL_MAX to 57
I followed the above procedure and got a workable gcc compiler.
--
+-------------------------------------------------------------------------------+
| National Taiwan University, Department of Electrical Engineering, CAD group |
| |
| Hung-Chi Chu < f80204@cad.ee.ntu.edu.tw > |
+-------------------------------------------------------------------------------+