[LLVMdev] LLVM with Microsoft Visual Studio

Andreas Fredriksson deplinenoise at gmail.com
Mon Mar 12 12:22:30 PDT 2007


On 3/12/07, Jeff Cohen <jeffc at jolt-lang.org> wrote:
> Just to make clear, there are no problems building 1.9 with VS 2003, nor
> are there any problems as I write this.

I'm fairly sure we grabbed the 1.9 tarball off the website, but I
could be wrong.

> That's what we do.  We define it in llvm/lib/System/Win32/Win32.h, which
> in included by every file that uses the Win32 API.  There is no reason
> for you to redefine it.  Changing it to an earlier version will cause
> build failures, changing it to a later version will have no effect,
> other than to permit the use of more recent Win32 APIs that will prevent
> LLVM from running on versions as old as Windows 2000.

Yes; my point was merely that in some build environments it's
convenient to just define it to , say, Windows XP all across the
solution with a property sheet (as we had done).

// A



More information about the llvm-dev mailing list