I can not use cmake to build llvm
Created by: fschmill
I use busybox-w32 with ConsoleZ (https://github.com/cbucher/console).
If i build LLVM with cmake get i an error:
C:/LLVM/BUILD_MINGW $ cmake -G "MinGW Makefiles" ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: C:/TDM-GCC-64/bin/gcc.exe
-- Check for working C compiler: C:/TDM-GCC-64/bin/gcc.exe -- broken
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.1/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "C:/TDM-GCC-64/bin/gcc.exe" is not able to compile a simple
test program.
It fails with the following output:
Change Dir: C:/LLVM/BUILD_MINGW/CMakeFiles/CMakeTmp
Run Build Command:"C:/TDM-GCC-64/bin/mingw32-make.exe"
"cmTryCompileExec2235654119/fast"
C:/TDM-GCC-64/bin/mingw32-make.exe -f
CMakeFiles\cmTryCompileExec2235654119.dir\build.make
CMakeFiles/cmTryCompileExec2235654119.dir/build
mingw32-make.exe[1]: Entering directory
'C:/LLVM/BUILD_MINGW/CMakeFiles/CMakeTmp'
"C:\Program Files (x86)\CMake\bin\cmake.exe" -E cmake_progress_report
C:\LLVM\BUILD_MINGW\CMakeFiles\CMakeTmp\CMakeFiles 1
Syntaxfehler.
CMakeFiles\cmTryCompileExec2235654119.dir\build.make:56: recipe for target
'CMakeFiles/cmTryCompileExec2235654119.dir/testCCompiler.c.obj' failed
mingw32-make.exe[1]: ***
[CMakeFiles/cmTryCompileExec2235654119.dir/testCCompiler.c.obj] Error 1
mingw32-make.exe[1]: Leaving directory
'C:/LLVM/BUILD_MINGW/CMakeFiles/CMakeTmp'
Makefile:117: recipe for target 'cmTryCompileExec2235654119/fast' failed
mingw32-make.exe: *** [cmTryCompileExec2235654119/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:19 (project)
-- Configuring incomplete, errors occurred!
See also "C:/LLVM/BUILD_MINGW/CMakeFiles/CMakeOutput.log".
See also "C:/LLVM/BUILD_MINGW/CMakeFiles/CMakeError.log".
C:/LLVM/BUILD_MINGW $
If i use cmd everythings works.