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

Michael Spencer bigcheesegs at gmail.com
Sat Aug 21 12:34:05 PDT 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: microsoft-system-tools.patch
Type: application/octet-stream
Size: 10395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100821/f4711419/attachment.obj>


More information about the cfe-commits mailing list