|
From: | Peter Rosin |
Subject: | Re: Make -Wc,foo behave like -Xcompiler foo in link mode. |
Date: | Sun, 06 Sep 2009 19:57:52 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Hi Ralf, Den 2009-09-06 11:44 skrev Ralf Wildenhues:
* Peter Rosin wrote on Fri, Sep 04, 2009 at 10:31:14PM CEST:If the test is going to be good enough on w32 I don't know. For gcc it should behave just as on any unix, so what's left is my msvc branch where -Wl, isn't supported ATM so I really can't say if the test has to be tweaked when/if I add that.Does the branch just pass through -Wl,-foo then, as -foo, or does it just drop the flag?
-Wl, is simply stripped for msvc in the branch (wl=""). That's not right of course. I think collecting the linker options and feeding them via a response file is the way to go. -L options are currently fed with the LINK environment variable, but that could perhaps also be reworked to use the same response file... I'll check flags.at later, short of time atm... Cheers, Peter
[Prev in Thread] | Current Thread | [Next in Thread] |