[LLVMdev] Building front end under OS X

Christopher Lamb christopher.lamb at gmail.com
Sun Apr 22 13:40:17 PDT 2007


When built using the guidelines in the README.LLVM to use the  
system's libstdc++ I get the following types of errors whenever I try  
to use the standard library (say by running the front end test suite  
in llvm/test):

/usr/include/c++/4.0.0/cmath:49:28: error: bits/c++config.h: No such  
file or directory
/usr/include/c++/4.0.0/iosfwd:45:29: error: bits/c++locale.h: No such  
file or directory
/usr/include/c++/4.0.0/iosfwd:46:25: error: bits/c++io.h: No such  
file or directory
/usr/include/c++/4.0.0/bits/atomicity.h:38:30: error: bits/ 
atomic_word.h: No such file or directory

Is this a product of the system's libstdc++ getting out of date  
w.r.t. the llvm-gcc tip? Should one now be building llvm-gcc's libstdc 
++ rather than using the system version on OS X?

--
Christopher Lamb



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070422/2808e704/attachment.html>


More information about the llvm-dev mailing list