[cfe-dev] Compiling a simple Win32 program

Kim Gräsman kim.grasman at gmail.com
Tue Jun 12 05:47:33 PDT 2012


On Tue, Jun 12, 2012 at 2:26 PM, Nikola Smiljanic <popizdeh at gmail.com> wrote:
> It will search the path to find the first link.exe. The one from Visual
> Studio should be first if Command prompt or vcvars.bat are used.

Oh, OK. But then I don't see what you're intending to patch. It already works:

--
[14:45:19,41] D:\dev\llvm-trunk\build\bin\Debug
>"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
Setting environment for using Microsoft Visual Studio 2010 x86 tools.

[14:45:57,55] D:\dev\llvm-trunk\build\bin\Debug
>clang t.c

[14:46:02,01] D:\dev\llvm-trunk\build\bin\Debug
>a.out
Hello, worldliness!

[14:46:03,95] D:\dev\llvm-trunk\build\bin\Debug
>
--

Curious,
- Kim



More information about the cfe-dev mailing list