<font size=2 face="sans-serif">  Hi,</font>
<br><font size=2 face="sans-serif">  I am new to LLVM, so I am sorry
if the question I am going to ask has already been raised before. I will
be thankful if anyone can describe me a quick way to search relevant topics
within the list archive,</font>
<br><font size=2 face="sans-serif">  When I am trying to compile a
simple code, containing access to std::string, with clang:</font>
<br>
<br><font size=2 face="Courier New">    #include <string></font>
<br><font size=2 face="Courier New">    int main() </font>
<br><font size=2 face="Courier New">    {</font>
<br><font size=2 face="Courier New">         
std::string s;</font>
<br><font size=2 face="Courier New">         
return 0;</font>
<br><font size=2 face="Courier New">    }</font>
<br>
<br><font size=2 face="sans-serif">   I am getting a plenty of
following errors:</font>
<br>
<br><font size=2 face="Courier New">In file included from test_string.cpp:1:</font>
<br><font size=2 face="Courier New">In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/string:46:</font>
<br><font size=2 face="Courier New">In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/char_traits.h:46:</font>
<br><font size=2 face="Courier New">In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/bits/stl_algobase.h:69:</font>
<br><font size=2 face="Courier New">In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/iosfwd:46:</font>
<br><font size=2 face="Courier New">In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/x86_64-redhat-linux/bits/c++io.h:38:</font>
<br><font size=2 face="Courier New">In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/x86_64-redhat-linux/bits/gthr.h:132:</font>
<br><font size=2 face="Courier New">/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/x86_64-redhat-linux/bits/gthr-default.h:100:68:
error: weakref declaration must have internal linkage</font>
<br><font size=2 face="Courier New">extern __typeof(pthread_once) __gthrw_pthread_once
__attribute__ ((__weakref__("pthread_once")));</font><font size=2 face="sans-serif"><br>
</font>
<br><font size=2 face="sans-serif">   In one of the development
phorums, I found somebody saying that LLVM does not support gcc 4.1 libraries.
Is that true? If yes, which libraries should I use, in case I would like
to use llvm 2.9?</font>
<br>
<br>
<br><font size=2 face="sans-serif">  Regards,</font>
<br><font size=2 face="sans-serif">  Dmitry</font>
<br><font size=2 face="sans-serif"><br>
<br>
Dmitry Pidan<br>
Emerging Quality Technologies Group<br>
IBM Haifa Research Lab.<br>
Lotus Notes: Dmitry Pidan/Haifa/IBM@IBMIL<br>
E-mail: pidan1@il.ibm.com<br>
Phone: 972-4-8296036<br>
</font>