[LLVMdev] Building LLVM on MinGW32 / Windows 7 Professional x64

Duncan Sands baldrick at free.fr
Sat Mar 5 02:48:35 PST 2011


Hi Andrew,

> When I try to compile LLVM, a dialog pops up halfway through the process:
> "tblgen.exe has stopped working" and the build quits.
>
> I would really appreciate a binary pack for llvm-as, llc, etc.

indeed windows is the only platform for which the LLVM core tools like llvm-as,
llc etc are not provided in the binary distribution.  I think it would be better
if they were included.

Ciao, Duncan.

>
> Specs:
>
> GCC 4.5.2
> MinGW-Get 0.1-alpha-5.1
> Windows 7 Professional x64
>
> Steps:
>
> Install MinGW
> (http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20110211/).
>
> Open Start -> Programs -> MinGW -> MinGW Shell.
>
> Run mingw-get install binutils.
>
> Run mingw-get install gcc.
>
> Download LLVM-GCC Front End Binaries for Mingw32/x86
> (http://llvm.org/releases/download.html#2.8).
>
> Move llvm-gcc*.tar.bz2 to C:\MinGW.
>
> Run bunzip2 llvm-*.bz2
>
> Run tar xvf llvm-*.tar
>
> Install msysGit (http://code.google.com/p/msysgit/).
>
> Command Prompt:
>
> cd C:\Users\andrew\Desktop
>
> git clone http://llvm.org/git/llvm.git
>
> MinGW Shell:
>
> cd c:/users/andrew/desktop
>
> ./configure
>
> make
>
> ...
>
> A dialog pops up: "tblgen.exe has stopped working"
>
> make[1]: Building Intrinsics.gen.tmp from Intrinsics.td
> make[1]: ***
> [/c/users/andrew/desktop/src/llvm/lib/VMCore/Debug+Asserts/Intrinics.gen.tmp]
> Error 255
> make[1]: Leaving directory '/c/users/andrew/desktop/src/llvm/lib/VMCore'
> make: *** [all] Error 1
>
> Close program
>
> Cheers,
>
> Andrew Pennebaker
> www.yellosoft.us <http://www.yellosoft.us>
>
>
>
> _______________________________________________
> 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