<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body style="direction: ltr;" bgcolor="#ffffff" text="#000099">
<p style="margin-bottom: 0cm; margin-top: 0pt;"><font
 face="Helvetica, Arial, sans-serif">Thanks, it helped :-)</font></p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><font
 face="Helvetica, Arial, sans-serif">I'm now building the sources and
apparently my mingw installation does not support pthread and therefore
examples/ParallelJIT.cpp fails:</font></p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">make[2]: Entering
directory `/c/llvm1.8/generated-llvm/obj/examples/ParallelJIT'<br>
llvm[2]: Compiling ParallelJIT.cpp for Debug build <br>
c:/llvm1.8/llvm/examples/ParallelJIT/ParallelJIT.cpp:20:21: pthread.h:
No such file or directory<br>
c:/llvm1.8/llvm/examples/ParallelJIT/ParallelJIT.cpp:212: error:
`pthread_cond_t ' does not name a type<br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">../../llvm/configure
--prefix=/c/llvm1.8/generated-llvm/install/ --enable-debug-runtime
--enable-jit</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><font
 face="Helvetica, Arial, sans-serif"> </font></p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><font
 face="Helvetica, Arial, sans-serif">Is there an elegant way to skip
building the examples (e.g. via a specific flag of cofigure) or the
only way to overcome this is to insert #if 0 in the actual code?</font></p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><font
 face="Helvetica, Arial, sans-serif"></font></p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><font
 face="Helvetica, Arial, sans-serif"></font></p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
Kenneth Boyd wrote:<br>
</p>
<blockquote cite="mid:490FF493.3000609@zaimoni.com" type="cite">
  <pre wrap="">Aviv Peretz wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,


I finally gave up building on Linux, in the meantime, and tried to 
build this version straight on Windows, using mingw32.


....

appending configuration tag CXX to mklib
appending configuration tag F77 to mklib
checking for llvm-gcc.exe... /c/llvm1.8-mingw32/bin/llvm-gcc.exe
checking for llvm-g++.exe... /c/llvm1.8-mingw32/bin/llvm-g++.exe
*checking tool compatibility... configure: error: g++|icc required but 
not found*


I searched the file system and couldn't find a file called g++.exe - 
only gcc.exe (which is located under mingw/bin) and llvm-g++.exe 
(which is located under llvm1.8-frontend/bin).

What seems to be the problem and how can I solve it?

    </pre>
  </blockquote>
  <pre wrap=""><!---->You only have C (provided by gcc) installed.  You need to unpack the C++ 
tarball (which provides g++) in the parent directory (the one above bin 
with gcc, include, and lib).  The C++ tarball should be the same release 
number as the gcc already installed.

Kenneth

_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>

  </pre>
</blockquote>
</body>
</html>