[cfe-commits] Forwarding -l arguments to link.exe
Michael Spencer
bigcheesegs at gmail.com
Fri Jun 8 16:17:25 PDT 2012
On Thu, Jun 7, 2012 at 11:32 PM, Nikola Smiljanic <popizdeh at gmail.com> wrote:
> Here's my attempt to get this working. I think the call to AddLinkerInputs
> is not needed here because it handles inputs only for gcc compatible driver.
> If this function gets called it will pass -l arguments to link.exe which
> doesn't know how to handle them. The only part we need from this function is
> handling of input files.
Looks good except it needs tests. I was unable to manually test it as
command line compiling on VS 2012 RC seems to be broken, but the -###
output is correct.
I do wonder if we should support implicitly adding a .lib extension if
an extension is not given. Currently if you did -llibcmt, it would
complain that it cannot find libcmt.o.
- Michael Spencer
More information about the cfe-commits
mailing list