[LLVMdev] Compiling LLVM-Clang with MinGW on Windows

nullnull null.function at gmail.com
Sat Feb 12 20:17:38 PST 2011


Thanks Kenneth and Takumi. The soltuion was very simple. As Takumi pointed
out, all I needed to just make MSYS makefiles.

On Sat, Feb 12, 2011 at 10:41 PM, Kenneth Boyd <zaimoni at zaimoni.com> wrote:

> On 2/12/2011 6:58 PM, nullnull wrote:
> > I'm a Windows user, and wish to run LLVM-Clang on Windows.
> > In Visual Studio 2010, buidling was fairly straightforward via the
> > solution file from CMake. However, there is no good document (thought
> > I searched for an hour) how to compile LLVM with MinGW on Windows.
> > I generated MinGW Makefile and build directories from CMake.
> Ok.
> > I installed entire MinGW+MSys packages.
> That's your problem.  CMake actively refuses to generate makefiles for
> MingW32 if any flavor of the *NIX shell sh is on your path, including
> the sh provided by the MingW32 project.  If you regenerate the makefile,
> it should autodetect MSYS in such a case.
>
> If the MSYS-targeted makefiles are broken (on my slightly non-standard
> MingW32 install with MSYS utilities, this is due to path format issues),
> you should look at my workaround :
> http://public.kitware.com/Bug/view.php?id=7870 .  I have needed this
> workaround for all of CMake 2.6.2, 2.6.4, and 2.8.0, and expect the
> workaround to be needed indefinitely due to complete and utter lack of
> interest in a proper patch.
>
> Kenneth
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110212/921fa377/attachment.html>


More information about the llvm-dev mailing list