[LLVMdev] Error building with Mingw on Win7
J. Garrett Morris
jgmorris at cs.pdx.edu
Tue Jun 22 12:47:14 PDT 2010
Hello everyone,
I've run across a problem building LLVM 2.7 with Mingw on Win7. When
I try make VERBOSE=1, it churns away happily for a while and then
produces:
/c/Perl/bin/perl /c/Programs32/llvm-2.7/utils/GenLibDeps.pl -flat /c/Programs
32/llvm-2.7/obj/Release/lib "/mingw/bin/nm" > /c/Programs32/llvm-2.7/obj/tools/
llvm-config/LibDeps.txt.tmp
'c:' is not recognized as an internal or external command, operable
program or batch file.
nm failed at c:/Programs32/llvm-2.7/utils/GenLibDeps.pl line 232.
Out of curiousity, I added to the GenLibDeps.pl error message, and
discovered that it thought nm was failing on
c:/Programs32/llvm-2.7/obj/Release/lib/libLLVMARMAsmParser.a
However, I can't manage to reproduce the failure by hand:
/mingw/bin/nm c:/Programs32/llvm-2.7/obj/Release/lib/libLLVMARMAsmParser.a |
sed -e 's/^[ 0]* U //' | sort | uniq
produces sensible looking output, and
/mingw/bin/nm c:/Programs32/llvm-2.7/obj/Release/lib/libLLVMARMAsmParser.a |
sed -e 's/^[ 0]* U //' | sort | uniq | grep "c:"
finds nothing. I'm not much of a Perl and/or Makefile hacker, so I'm
not sure where to go next. Has anyone seen this before?
More information about the llvm-dev
mailing list