Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 1996 07:49:36 -0500
From:      "Eric L. Hernes" <erich@lodgenet.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        current@FreeBSD.ORG, erich@lodgenet.com
Subject:   Re: does HAVE_FPU really work? 
Message-ID:  <199608221249.HAA04765@jake.lodgenet.com>
In-Reply-To: Your message of "Thu, 22 Aug 1996 17:53:37 %2B1000." <199608220753.RAA20229@godzilla.zeta.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608221249.HAA04765>