[LLVMdev] Problem building 2.0 release with .sln on win32 (and patch)

Scott Graham scott.llvm at h4ck3r.net
Sat May 26 22:54:16 PDT 2007


Hi

I was getting an error building the x86 project using the .sln included with
the 2.0 release. VS was unable run the Custom Build Step for X86.td for
reasons which were not clear to me. It spit out an obtuse "Format of the
path is incorrect" error, and then proceeded to run only the last 4 lines of
the custom build step for X86.td. (??) Is there something obvious that I'm
missing?

Assuming not, I have attached a patch that works around the problem by
putting the invocations of TableGen into a standalone .cmd file, and using
that in the custom build step for X86.td. This allowed me to successfully
build the x86 lib and in turn the llc, lli, and Fibonacci projects. They
seem to run OK, but I've only just started looking at LLVM so I probably
wouldn't know if things were broken anyhow.

scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070526/996d0bf3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-win-sln-build.patch
Type: application/octet-stream
Size: 8966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070526/996d0bf3/attachment.obj>


More information about the llvm-dev mailing list