[LLVMdev] Getting started using MinGW binary release?

sam lee skynare at gmail.com
Wed Nov 7 12:48:10 PST 2007


Yay! It works now!

0) Download:
- http://nuwen.net/mingw.html    : Nice MinGW distribution with gcc 4.2.1
- http://llvm.org/releases/2.1/llvm-2.1-x86-mingw32.tar.bz2
- http://llvm.org/releases/2.1/llvm-gcc4.0-2.1-x86-mingw32.tar.bz2
- ftp://sourceware.org/pub/pthreads-win32/prebuilt-dll-1-9-0-release/lib/pthreadGC1.dll

1) Extract MinGW to C:\MinGW

2) Move pthreadGC1.dll to C:\MinGW\bin\pthreadGC.dll

3) Extract llvm-2.1-x86-mingw32.tar.bz2 to C:\MinGW

4) Extract llvm-gcc4.0-2.1-x86-mingw32.tar.bz2 to C:\MinGW

5) Add C:\MinGW\bin to PATH environment variable (put it before cygwin)

6) Follow http://llvm.org/docs/GettingStarted.html#tutorial

When I compress C:\MinGW, it's 35MB. This would fit nicely on usb thumb drives.

On Nov 7, 2007 1:40 AM, Anton Korobeynikov <asl at math.spbu.ru> wrote:
> Sam,
>
> > Am I supposed to install MinGW (maybe MSYS) and extract prebuilt
> > packages ( llvm-2.1-x86-mingw32.tar.bz2  and
> > llvm-gcc4.0-2.1-x86-mingw32.tar.bz2) to C:\MinGW ??
> llvm-as != as. You'll need to have binutils installed in order to compile & link.
>
> --
>
> With best regards, Anton Korobeynikov.
>
> Faculty of Mathematics & Mechanics, Saint Petersburg State University.
>
>
>



More information about the llvm-dev mailing list