[PATCH] Mingw-w64 driver for clang
Yaron Keren
yaron.keren at gmail.com
Tue Jun 30 07:55:47 PDT 2015
For interactive work I prefer to change path since typing gcc at the command line finds the same one clang would find.
Anyhow, no problem, here is the patch with --sysroot support. If --sysroot is provided it is the base directory for gcc root. If not, clang will look for gcc in the path as the previous version. The changes are in MinGW constructor.
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.28779.patch
Type: text/x-patch
Size: 23358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150630/f6b62fc9/attachment.bin>
More information about the cfe-commits
mailing list