I was building llvm2.9 using MinGW64 on windows, msys was 32 bit so I specified --host option for a cross compiling. Following are my configure options:<div><br></div><div>../llvm2.9/configure --prefix=/home/AutoESL/llvm-obj</div>
<div>                            --host=x86_64-w64-mingw32</div><div>                            --disable-multilib</div><div><br></div><div>The error:</div><div><div>make[1]: Entering directory `/home/AutoESL/llvm-obj/lib/VMCore'</div>
<div>make[1]: *** No rule to make target `/usr/home/AutoESL/llvm-obj/BuildTools/Debug/bin/tblgen.exe', needed by `/usr/home/AutoESL/llvm-obj/lib/VMCore/Debug/Intrinsics.gen.tmp'.</div><div>make[1]: Target `all' not remade because of errors.</div>
<div>make[1]: Target `all' not remade because of errors.</div><div>make[1]: Nothing to be done for `all'.</div><div>make[1]: Leaving directory `/home/AutoESL/llvm-obj/lib/VMCore'</div><div>make: *** [all] Error 1</div>
</div><div><br></div><div><div><br></div><div>The gcc version:</div><div>AutoESL@autoesl-06eb92d ~/llvm-obj</div><div>$ gcc -v</div><div>Using built-in specs.</div><div>COLLECT_GCC=d:\TDM\bin\gcc.exe</div><div>COLLECT_LTO_WRAPPER=d:/tdm/bin/../libexec/gcc/x86_64-w64-mingw32/4.5.2/lto-wrapp</div>
<div>er.exe</div><div>Target: x86_64-w64-mingw32</div><div>Configured with: ../../src/gcc-4.5.2/configure --build=x86_64-w64-mingw32 --enab</div><div>le-targets=all --enable-languages=c,c++,fortran,objc,obj-c++ --enable-libgomp --</div>
<div>enable-lto --enable-libstdcxx-debug --enable-version-specific-runtime-libs --ena</div><div>ble-fully-dynamic-string --with-gnu-ld --disable-werror --disable-nls --disable-</div><div>win32-registry --prefix=/mingw64tdm --with-local-prefix=/mingw64tdm --with-pkgve</div>
<div>rsion=tdm64-1 --with-bugurl=<a href="http://tdm-gcc.tdragon.net/bugs">http://tdm-gcc.tdragon.net/bugs</a></div><div>Thread model: win32</div><div>gcc version 4.5.2 (tdm64-1)</div><div><br></div></div><div>Any idea?</div>
<div><br></div><div>Thanks.</div>