[PATCH] clang-cl: Add support for the /o option for object files, executables, and preprocessor output
Ehsan Akhgari
ehsan.akhgari at gmail.com
Wed Sep 10 18:51:36 PDT 2014
Hi rnk,
cl.exe recognizes /o as a deprecated and undocumented option similar to
/Fe. This patch adds support for this option to clang-cl for /Fe, /Fo
and /Fi. It also ensures that the last option among /o and /F* wins,
if both specified.
This is required at least for building autoconf based software, since
autoconf uses -o to specify the executable output.
This fixes http://llvm.org/PR20894.
http://reviews.llvm.org/D5308
Files:
include/clang/Driver/CLCompatOptions.td
lib/Driver/Driver.cpp
test/Driver/cl-outputs.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5308.13573.patch
Type: text/x-patch
Size: 10557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140911/a7c78168/attachment.bin>
More information about the cfe-commits
mailing list