[PATCH] Mingw-w64 driver for clang

Yaron Keren yaron.keren at gmail.com
Tue Jun 30 05:43:11 PDT 2015


OK, here is an updated patch for ToT.

So no more hardcoded paths: all directories are based on gcc location, which must be on the PATH. This enables having several mingw distributions installed and switching between them by simply changing the PATH pointing to gcc.exe.

This patch was tested on Windows 7, with mingw-w64 {32,64} bits and the older mingw.org 32 bits. 
It was not tested on Linux cross-compilation to Windows. It may still work since all paths are gcc relative.


http://reviews.llvm.org/D5268

Files:
  tools/clang/include/clang/Driver/Options.td
  tools/clang/lib/Driver/CMakeLists.txt
  tools/clang/lib/Driver/Driver.cpp
  tools/clang/lib/Driver/MinGWToolChain.cpp
  tools/clang/lib/Driver/ToolChains.h
  tools/clang/lib/Driver/Tools.cpp
  tools/clang/lib/Driver/Tools.h
  tools/clang/lib/Frontend/InitHeaderSearch.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5268.28770.patch
Type: text/x-patch
Size: 23157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150630/21231449/attachment.bin>


More information about the cfe-commits mailing list