[cfe-commits] [PATCH] More better win32 include path init

John Thompson john.thompson.jtsoftware at gmail.com
Fri Nov 20 09:44:38 PST 2009


Nudge nudge

On Tue, Nov 17, 2009 at 1:21 PM, John Thompson <
john.thompson.jtsoftware at gmail.com> wrote:

> It turns out that in Visual Studio 2008 (9.0), the Windows platform SDK is
> no longer embedded in the Visual Studio installation directory, but in a
> sister directory, also specified in the registry.  This patch fixes that,
> and also does away with the hard-coded paths for Windows, and the funky
> choice between VC80 and vc90.  Instead, it searches for the highest
> versioned registry keys, which hopefully will still work when the next
> versions of VS come out.
> For cross-compiling with respect to the removal of the hard-coded paths, if
> you mimic the mimic the VC??COMNTOOLS environment variables, you can still
> have some means to use a copy of the Visual Studio includes.  Otherwise it
> will search /usr/local/include and /usr/include.
>
> -John
>
> --
> John Thompson
> John.Thompson.JTSoftware at gmail.com
>
>


-- 
John Thompson
John.Thompson.JTSoftware at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20091120/1135a816/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32pathfix.patch
Type: application/octet-stream
Size: 8227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20091120/1135a816/attachment.obj>


More information about the cfe-commits mailing list