[cfe-dev] New user:  Linux:  undefined reference to fetestexcept
    Fred J. Tydeman 
    tydeman at tybor.com
       
    Fri Jul 15 22:47:13 PDT 2011
    
    
  
On Intel x86_64, running Linux Fedora 15 x86_64, 
after using Add Software of 'clang' and 'clang-doc', 
(which got version 2.8.11)
when I try to compile and run the program
  http://www.tybor.com/tflt2int.c
via the command line:  clang -std=c99 tflt2int.c
I am getting undefined references to both
fetestexcept and feclearexcept
Are there headers or libraries that I need to tell
the compiler about?
---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (775) 358-9748      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.
    
    
More information about the cfe-dev
mailing list