problem with llvm-config when building 3.1 for Linux-to-Windows cross development

Recently I packaged LLVM 3.0 for cross development use on Fedora Linux targeting Windows using MinGW, and submitted it for a Fedora package review. Getting that to build went pretty smoothly.

I just tried to update it to LLVM 3.1 and ran into a problem with llvm-config. When LLVM 3.0 is configured for a Linux host and MinGW target, the llvm-config tool is built appropriately to run on the host (Linux) system, as is necessary for cross development. However, it seems that with LLVM 3.1, with the same configuration, only a target (Windows) llvm-config.exe gets built, which is useless for cross-development.

Is there a simple fix to get an appropriate host-based llvm-config built?

Thanks!
Eric

Does svn r156448 help at all? It is supposed to install a separate llvm-config-host when cross-compiling.

Bob Wilson wrote:

Does svn r156448 help at all? It is supposed to install a separate llvm-config-host when cross-compiling.

Yes, that looks like it should solve my problem.

Thanks!
Eric