| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| From: | "Piyush Kumar" <piyush AT acm DOT org> |
| To: | "Cygwin AT Cygwin. Com" <cygwin AT cygwin DOT com> |
| Subject: | ieeefp.h / fpsetround / Linking Problem! |
| Date: | Tue, 11 Dec 2001 23:04:26 -0500 |
| Message-ID: | <OJEKLJMDIMFOIAMJJNNCKEDPCEAA.piyush@acm.org> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |