title: LLVM MinGW installation on Vista?
body: <p>From <a href="http://llvm.org/" rel="nofollow noreferrer">llvm.org</a> I've downloaded llvm-2.6-x86-mingw32.tar.bz2 into <code>c:\llvm</code> and llvm-gcc-4.2-2.6-x86-mingw32-tar.bz2 into <code>c:\llvm-gcc</code> as well as setup a desktop shortcut the following batch file in <code>c:\llvm-gcc</code> which attempts to setup an environment for compiling via the <code>llvm-gcc</code> command line too:</p>
  
  <pre><code>@echo off
  color 0E
  echo Configuring LLVM environment...
  set LLVM_LIB_SEARCH_PATH=%~dp0lib
  set PATH=c:\llvm;%~dp0bin;%PATH%
  </code></pre>
  
  <p>Unfortunately, this setup gives the following error when trying to compile a simple hello world program:</p>
  
  <pre><code>C:\CDev\sandbox&gt;llvm-gcc -o hello.exe hello.c
  llvm-gcc: CreateProcess: No such file or directory
  </code></pre>
  
  <p>I've briefly looked through the LLVM binaries and it appears that the MinGW-based Win32 API and runtime files are already included.  I also tried adding the MinGW DLL to <code>c:\llvm-gcc\bin</code> to no avail.</p>
  
  <p>What have I missed in setting up the binary LLVM environment and GCC-based front end on Vista?</p>
  
  <p>Thanks, Jon</p>