<div class="gmail_quote"><br><br><div>I managed to build clang on mingw/msys today.</div><div><br></div><div>Running configure, make install worked for both debug and optimized builds in general. However there were a few hitches along the way. Make would fail with:</div>

<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><br></div><div>ln: creating symbolic link `/d/super/dump/code/llvm/llvm-project/llvm/build.clang/Release+Asserts/bin/clang++.exe' to `clang.exe': No such file or directory</div>

<div>ln: creating symbolic link `/usr/local/bin/clang++.exe' to `clang.exe': No such file or directory</div><div><br></div></blockquote><div><br></div>And similar errors. Running make with the -i argument finished the build, and I manually created the links. I don't think there were any other problems in the build, and<br>

<div><br></div><div>I changed InitHeaderSearch.cpp as instructed for clang to locate the header files.</div><div><br></div><div>clang managed to build my large (personal) project, forcing me to fix some syntax errors gcc allowed.</div>

<div><br></div><div>Linking ran into a single multiple definition error:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>d:/super/dump/mingw/mingw/bin/../lib/gcc/mingw32/4.4.0/libstdc++.a(tinfo.o):C:\MinGW\src\gccbf\mingw32\libstdc++-v3\libsupc++/../../../../gcc-4.4.0/libstdc++-v3/libsupc++/tinfo.cc:40: multiple definition of `std::type_info::operator==(std::type_info const&) const'</div>

<div>objs/test/LoadSave.o:fake:(.text$_ZNKSt9type_infoeqERKS_[std::type_info::operator==(std::type_info const&) const]+0x0): first defined here</div></div><div><br></div></blockquote><div>This seemed to be defined in the libstdc++, and also in each of my Translation Units.</div>

<div><br></div><div>I used gcc version 4.4.0 (GCC) and GNU Make 3.81</div><div><br></div><div><br></div><div>--</div><div>Azriel Fasten</div>
</div><br>