From owner-freebsd-current Wed Aug 21 11:42:41 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA15247 for current-outgoing; Wed, 21 Aug 1996 11:42:41 -0700 (PDT) Received: from bacall.lodgenet.com (bacall.lodgenet.com [205.138.147.242]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA15237 for ; Wed, 21 Aug 1996 11:42:35 -0700 (PDT) Received: (from mail@localhost) by bacall.lodgenet.com (8.6.12/8.6.12) id NAA14794 for ; Wed, 21 Aug 1996 13:42:20 -0500 Received: from garbo.lodgenet.com(204.124.123.250) by bacall via smap (V1.3) id sma014784; Wed Aug 21 13:42:07 1996 Received: from jake.lodgenet.com (jake.lodgenet.com [204.124.120.30]) by garbo.lodgenet.com (8.6.12/8.6.9) with ESMTP id NAA04640 for ; Wed, 21 Aug 1996 13:42:11 -0500 Received: from localhost (localhost [127.0.0.1]) by jake.lodgenet.com (8.7.5/8.6.12) with SMTP id NAA23956 for ; Wed, 21 Aug 1996 13:39:29 -0500 (CDT) Message-Id: <199608211839.NAA23956@jake.lodgenet.com> X-Authentication-Warning: jake.lodgenet.com: Host localhost [127.0.0.1] didn't use HELO protocol X-Mailer: exmh version 1.6.2 7/18/95 To: current@freebsd.org Subject: does HAVE_FPU really work? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 21 Aug 1996 13:39:29 -0500 From: "Eric L. Hernes" Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk howdy, Intrigued by the recent discussion of the math library and HAVE_FPU, I defined HAVE_FPU in /etc/make.conf then proceeded to /usr/src/lib/msun, to rebuild the library: (ttyp1@jake)# pwd /usr/src/lib/msun (ttyp1@jake)# make cc -O -D_MULTI_LIBM -D_POSIX_MODE -D_IEEE_LIBM -c /usr/src/lib/msun/src/e_acos. c -o e_acos.o shouldn't it be compiling /usr/src/lib/msun/i387/e_acos.S ??? Oh, well, make does a lot of stuff under the hood, so I proceeded to let it compile, but the resultant library libm.so.2.0, has exactly the same md5 as without HAVE_FPU defined --??? then trying `make -ds e_acos.o', I get amongst other stuff: SuffFindDeps (e_acos.o) trying e_acos.s...not there trying e_acos.S...got it using existing source /usr/src/lib/msun/src/e_acos.c applying .c -> .o to "e_acos.o" looks like it finds e_acos.S, but uses e_acos.c anyway. does anybody else have this problem, or is it a result of one of my local hacks? thanks, eric. -- erich@lodgenet.com http://rrnet.com/~erich erich@rrnet.com