From owner-freebsd-current Thu Aug 22 05:56:56 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id FAA11696 for current-outgoing; Thu, 22 Aug 1996 05:56:56 -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 FAA11690 for ; Thu, 22 Aug 1996 05:56:53 -0700 (PDT) Received: (from mail@localhost) by bacall.lodgenet.com (8.6.12/8.6.12) id HAA22127; Thu, 22 Aug 1996 07:56:14 -0500 Received: from garbo.lodgenet.com(204.124.123.250) by bacall via smap (V1.3) id sma022125; Thu Aug 22 07:56:11 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 HAA21364; Thu, 22 Aug 1996 07:56:15 -0500 Received: from localhost (localhost [127.0.0.1]) by jake.lodgenet.com (8.7.5/8.6.12) with SMTP id HAA04765; Thu, 22 Aug 1996 07:49:36 -0500 (CDT) Message-Id: <199608221249.HAA04765@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: Bruce Evans cc: current@FreeBSD.ORG, erich@lodgenet.com Subject: Re: does HAVE_FPU really work? In-reply-to: Your message of "Thu, 22 Aug 1996 17:53:37 +1000." <199608220753.RAA20229@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Aug 1996 07:49:36 -0500 From: "Eric L. Hernes" Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Bruce Evans writes: >>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. > didn't find > >It shouldn't use e_acos.c, since e_acos.c isn't among the source >files if HAVE_FPU is defined (see the Makefile). > Yes, I saw that. I even put in a t: @echo ${SRCS} # make t that spit out the .S's as expected, it just didn't compile 'em. Also, when I rm'ed the .c's that corresponding had .S's `make -ds e_acos.o' resulted in: SuffFindDeps (e_acos.o) trying e_acos.s...not there trying e_acos.S...got it applying .S -> .o to "e_acos.o" SuffFindDeps (e_acos.S) cc -D_MULTI_LIBM -D_POSIX_MODE -D_IEEE_LIBM -c /src/build/msun/i387/e_acos.S -o e_acos.o It looks like make is using `e_acos' as a root, and finding `e_acos.S' and `e_acos.c', and picking `e_acos.c', regardless of what ${SRCS} is. >Bruce > still confused, eric. -- erich@lodgenet.com http://rrnet.com/~erich erich@rrnet.com