Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Piyush Kumar" To: "Cygwin AT Cygwin. Com" Subject: ieeefp.h / fpsetround / Linking Problem! Date: Tue, 11 Dec 2001 23:04:26 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 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/