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

Bob Wilson bob.wilson at apple.com
Thu Jun 7 14:39:16 PDT 2012


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

On Jun 7, 2012, at 1:30 AM, Eric Smith <eric at brouhaha.com> wrote:

> 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
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list