[cfe-commits] [PATCH] Add Windows system toolchain

Daniel Dunbar daniel at zuster.org
Sat Aug 21 12:44:25 PDT 2010


Hi Michael,

Looks like a good start to me, please apply assuming tests are happy.

Can we pass /nologo by default? :)

 - Daniel

On Sat, Aug 21, 2010 at 12:34 PM, Michael Spencer <bigcheesegs at gmail.com> wrote:
> The attached patch adds a windows toolchain with a linker. This should
> only affect pc-win32 hosts.
>
> This allows the following command to work on windows:
>
> G:\Users\Michael\temp>"g:\Program Files (x86)\Microsoft Visual Studio
> 10.0\vc\bin\vcvars32.bat"
> Setting environment for using Microsoft Visual Studio 2010 x86 tools.
>
> G:\Users\Michael\temp>clang -integrated-as hello.c -o hello.exe
> Microsoft (R) Incremental Linker Version 10.00.30319.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
>
> G:\Users\Michael\temp>hello.exe
> Hello, World!
>
> G:\Users\Michael\temp>
>
>
> - Michael Spencer
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>




More information about the cfe-commits mailing list