[LLVMdev] Fail when building llvm2.9 using MinGW64

陈晓宇 xychen0921 at gmail.com
Fri May 13 02:43:24 PDT 2011


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:

../llvm2.9/configure --prefix=/home/AutoESL/llvm-obj
                            --host=x86_64-w64-mingw32
                            --disable-multilib

The error:
make[1]: Entering directory `/home/AutoESL/llvm-obj/lib/VMCore'
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'.
make[1]: Target `all' not remade because of errors.
make[1]: Target `all' not remade because of errors.
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/AutoESL/llvm-obj/lib/VMCore'
make: *** [all] Error 1


The gcc version:
AutoESL at autoesl-06eb92d ~/llvm-obj
$ gcc -v
Using built-in specs.
COLLECT_GCC=d:\TDM\bin\gcc.exe
COLLECT_LTO_WRAPPER=d:/tdm/bin/../libexec/gcc/x86_64-w64-mingw32/4.5.2/lto-wrapp
er.exe
Target: x86_64-w64-mingw32
Configured with: ../../src/gcc-4.5.2/configure --build=x86_64-w64-mingw32
--enab
le-targets=all --enable-languages=c,c++,fortran,objc,obj-c++
--enable-libgomp --
enable-lto --enable-libstdcxx-debug --enable-version-specific-runtime-libs
--ena
ble-fully-dynamic-string --with-gnu-ld --disable-werror --disable-nls
--disable-
win32-registry --prefix=/mingw64tdm --with-local-prefix=/mingw64tdm
--with-pkgve
rsion=tdm64-1 --with-bugurl=http://tdm-gcc.tdragon.net/bugs
Thread model: win32
gcc version 4.5.2 (tdm64-1)

Any idea?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110513/c23d5a13/attachment.html>


More information about the llvm-dev mailing list