[LLVMdev] mingw binary is corrupt
Reid Spencer
rspencer at reidspencer.com
Sun Nov 26 19:30:31 PST 2006
On Sun, 2006-11-26 at 19:04 -0800, SevenThunders wrote:
> Here is how it fails now:
>
> make[2]: Entering directory `/d/Apps/llvm/tools/llvm-config'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/d/Apps/llvm/tools/llvm-config'
> The system cannot find the path specified.
> make[2]: Entering directory `/d/Apps/llvm/tools/opt'
> llvm[2]: Compiling AnalysisWrappers.cpp for Release build
> llvm[2]: Compiling GraphPrinters.cpp for Release build
> llvm[2]: Compiling PrintSCC.cpp for Release build
> llvm[2]: Compiling opt.cpp for Release build
> make[2]: *** No rule to make target `/lib/libLLVMTransforms.a', needed by
> `/d/Apps/llvm/Release/bin/opt.exe'. Stop.
Looks to me like you're not configured correctly. Either that or
llvm-config doesn't know how to construct the objdir directory properly.
That error message should have a path
like: /.../Release/lib/libLLVMTransforms.a
To verify, try this command:
llvm-config --obj-root
llvm-config --libfiles
These should print full path names to your obj-root directory and your
libraries. If not, something went wrong with the construction of
llvm-config. In that case, try "make clean" in tools/llvm-config
followed by "make"
Reid.
Alternatively, perhaps the build of libLLVMTransforms.a failed? Check
your build log.
To ver
> make[2]: Leaving directory `/d/Apps/llvm/tools/opt'
> make[1]: *** [opt/.makeall] Error 2
> make[1]: Leaving directory `/d/Apps/llvm/tools'
> make: *** [all] Error 1
>
>
>
More information about the llvm-dev
mailing list