* ieeefp.h / fpsetround / Linking Problem!
@ 2001-12-11 21:10 Piyush Kumar
0 siblings, 0 replies; only message in thread
From: Piyush Kumar @ 2001-12-11 21:10 UTC (permalink / raw)
To: Cygwin@Cygwin. Com
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-12 3:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-11 21:10 ieeefp.h / fpsetround / Linking Problem! Piyush Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).