[LLVMbugs] Cmake report errors on svn 61806

Óscar Fuentes ofv at wanadoo.es
Tue Jan 6 09:55:43 PST 2009

"Yonggang Luo"
<yonggangluo-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org> writes:

> CMake Error at cmake/modules/GetTargetTriple.cmake:14 (message): 
> Failed to execute D:/svn/llvm/autoconf/config.guess
> Call Stack (most recent call first):
> cmake/config-ix.cmake:59 (get_target_triple)
> CMakeLists.txt:105 (include)
> What's happened?
> I am using TDM MinGW g++ 4.3.2 
> and Perl 5.10
> and sh version is 3.1.0
> I am using CMake system to generate CodeBlocks project files.

First, please file a proper bug report with as much information as you
can. This mailing list is not for reporting bugs.

CodeBlocks is not tested.

The problem consists on GetTargetTriple.cmake using
autoconf/config.guess for all compiler/platforms except MSVC. Can your
shell execute autoconf/config.guess ? If the answer is yes, the problem
is elsewhere. If no, modify cmake/modules/GetTargetTriple.cmake for
returning a fixed answer just like it does for MSVC. Removing the
if/else altogether and leaving the 

set( ${var} "i686-pc-win32" PARENT_SCOPE )

should work. Of course, this is not acceptable as a general solution, so
you need to look on what is missing for supporting CodeBlocks.



More information about the llvm-bugs mailing list