This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
ieeefp.h / fpsetround / Linking Problem!
- From: "Piyush Kumar" <piyush at acm dot org>
- To: "Cygwin at Cygwin dot Com" <cygwin at cygwin dot com>
- Date: Tue, 11 Dec 2001 23:04:26 -0500
- Subject: ieeefp.h / fpsetround / Linking Problem!
Anyone knows why this doesnt work in gcc
#include <ieeefp.h>
int main(){
fp_rnd rnd = FP_RM;
fpsetround(rnd);
}
gcc test.c -lm
:undefined reference to `fpsetround'
Anyone knows what file I need to link to get this function?
Or am i doing something wrong?? Or fpsetround is not available
on cygwin yet! If not, anyone has ideas, how I can hack it on
my PIII? Assembly/asm???
Thanks,
--Piyush
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/