I tried to compile LLVM+Clang on windows7 using MinGW32 and get a compile error since a few revisions.
Please see attached captured output.
I dont know i found a bug or i did something wrong. ( I compiled sucessfully 1..2 weeks ago.)
builderror.txt (1.71 KB)
If you don’t mind switching, try this mingw distribution
which is more up-to-date than the original mingw.
I did so in the last week. I tested:
I have read the clang user manual  mentioning older versions of gcc no longer available at mingw-64.
Can you point me to a working mingw64 version i sould use please?
I want to build win32 programs using windows treading.
thanks in advance.
Versions 4.8.1, 4.8.2, 4.8.3, 4.9.0, 4.9.1 of mingw-builds are here
I don’t think you did anything,the error is C++ error, probably result of some revision.
Are you using the trunk code of llvm & clang?
Which gcc version produced the error?
Thanks for your help. I successfully built llvm+clang.
I forgot to svn-update the clang subfolder in addition to llvm folder.
The make process errors out sometimes and can easily restarted. I attach my notes. May be its of some interest for you.
builderror.txt (4.11 KB)
I use a short script to update svn & build.
The errors are all related to def files creation. It’s worth debugging what the problem is, if you have the time.
Shure i want to help. Send me a PM and we can talk about.
It seems there is a typo in some cmake generatet batch file. (seee attached debug log fragment)
There need some slashes become replaced by backslashes. Otherwise the TYPE command fails out.
I am not famillar with cmake, so please someone other than me can do the bug fix please?.
makelog.txt (485 Bytes)
Could you file a bug with http://llvm.org/bugs/ ?
I just had time to look into the LTO def. issue.
It may result from running make under the MSYS sh.exe and be resolved when running under cmd.exe.