Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA6103 ; Mon, 04 Jan 93 22:09:22 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!yoyo.aarnet.edu.au!myall.awadi.com.au!myall!blymn From: blymn@awadi.com.au (Brett Lymn) Newsgroups: comp.unix.bsd Subject: Re: [386bsd] gcc 2.3.2 compile problems Date: 28 Dec 92 18:26:37 Organization: /usr/blymn/.organization Lines: 34 Message-ID: <BLYMN.92Dec28182637@siren.awadi.com.au> References: <dhess.724812183@Xenon.Stanford.EDU> <BLYMN.92Dec27161320@siren.awadi.com.au> NNTP-Posting-Host: siren.awadi.com.au In-reply-to: blymn@awadi.com.au's message of 27 Dec 92 16:13:19 >>>>> On 27 Dec 92 16:13:19, blymn@awadi.com.au (Brett Lymn) said: Brett> NNTP-Posting-Host: siren.awadi.com.au >>>>> On 20 Dec 92 00:43:03 GMT, dhess@Xenon.Stanford.EDU (Drew William Hess) said: D> I'm having problems getting gcc 2.3.2 to compile under 386bsd. It's choking D> on enquire.c, line 2303, and complaining about a floating point constant D> being out of range. Can someone please post or email me a fix? Thanks. Brett> I would not worry about it too much, if you have a look at the Brett> comments in the .h file enquire generates you will see that the errors Brett> that it has detected are rather infesteminal (ie the order of 1e-308) Brett> so I suspect the rounding is wrong rather than anything else more Brett> serious. Brett> Apart from that gcc 2.3.2 works fine, I have compiled X with it with Brett> only one problem, in /usr/include stdlib.h there is the following Brett> ifdef: Thanks to L. Jonas Olsson for suggesting: #if defined(alloca) && (alloca == __builtin_alloca) #if __GNUC__ < 2 /* do not define for gcc 2.3.2 */ void *alloca __P((int)); /* built-in for gcc */ #endif #else void *alloca __P((size_t)); #endif /* __GNUC__ */ Which will ifdef out the alloca definition for gcc 2.x but not the gcc 1.39 (needed for the kernel rebuilds by the unadventurous ;-) -- Brett Lymn