This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]