From llvm.org I ve downloaded llvm-2.6-x86-mingw32.tar.bz2 into c:llvm
and llvm-gcc-4.2-2.6-x86-mingw32-tar.bz2 into c:llvm-gcc
as well as setup a desktop shortcut the following batch file in c:llvm-gcc
which attempts to setup an environment for compiling via the llvm-gcc
command line too:
@echo off
color 0E
echo Configuring LLVM environment...
set LLVM_LIB_SEARCH_PATH=%~dp0lib
set PATH=c:llvm;%~dp0bin;%PATH%
Unfortunately, this setup gives the following error when trying to compile a simple hello world program:
C:CDevsandbox>llvm-gcc -o hello.exe hello.c
llvm-gcc: CreateProcess: No such file or directory
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 c:llvm-gccin
to no avail.
What have I missed in setting up the binary LLVM environment and GCC-based front end on Vista?
Thanks, Jon