At Tue, 24 Feb 2009 11:59:24 -0500, Taylor R Campbell wrote:
Subject: libm trigonometric functions and i387
>
> This, I think, is a mistake, first of all: programmers who want their
> programs to use the i387's fast and loose trigonometric routines can
> always compile their programs with -ffast-math and -mfancy-math-387,
> but right now the default is to give wildly bogus answers. Setting
> aside, though, the issue of whether NetBSD's libm should be fast or
> correct, how do I tell the linker that I want libm, not libm387,
> without editing /etc/ld.so.conf?
I'm a huge fan of always using static linking.
What happens when you static-link your program, without explicitly
specifying "-lm387" before "-lm"?
Do you have a small demonstration program you can post as an example
test of what you're trying to do?
--
Greg A. Woods
H:+1 416 218-0098 W:+1 416 489-5852 VE3TCP RoboHack
<woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost> Secrets of the Weird
<woods%weird.com@localhost>
Attachment:
pgpkPJqcvWK88.pgp
Description: PGP signature