[LLVMdev] problem with llvm-config when building 3.1 for Linux-to-Windows cross development
Eric Smith
eric at brouhaha.com
Thu Jun 7 01:30:55 PDT 2012
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
More information about the llvm-dev
mailing list