Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!netnews.com!mr.net!newshub.tc.umn.edu!newsstand.tc.umn.edu!usenet From: Mike Pritchard <mpp@FreeBSD.ORG> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Q: how to recompile libm Date: Wed, 12 Feb 1997 16:22:12 -0800 Organization: University of Minnesota Lines: 32 Message-ID: <33025EB4.281B@FreeBSD.ORG> References: <5ds83o$li4$1@news.belwue.de> Reply-To: mpp@FreeBSD.ORG NNTP-Posting-Host: it3170-x226-23.itlabs.umn.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win16; I) To: Jens Schweikhardt <schweikh@rubin.noc.dfn.de> Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35612 Jens Schweikhardt wrote: > > hello, world\n > > In a recent thread I read that FreeBSD's libm is not compiled > for floating point hardware (but rather emulates it). It was > suggested to edit /etc/make.conf to include HAVE_FPU=YES and > recompile libm. > > I cd to /usr/src/libm and for lack of READMEs describing the > build process in detail I just typed make. > > Needless to say it didn't work :-) This may of course be due > to my ignorance. The make stopped when compiling ieee/support.c > due to prototype differences of some function (whose name I > can't remember but I'll dig it up if you need it) with > /usr/include/math.h. > > I'm probably too clueless here. Are there any make variables > I have to set, like MACHINE or whatever to successfully build > a new libm? Thanks for any hints. > > Jens Schweikhardt <schweikh@noc.dfn.de> Try building from /usr/src/lib/libmsun instead of .../lib/libm. If I remember right, the default math library of the msun library, not the traditional BSD libm. -Mike -- Mike Pritchard mpp@FreeBSD.ORG