libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make -Wc,foo behave like -Xcompiler foo in link mode.


From: Ralf Wildenhues
Subject: Re: Make -Wc,foo behave like -Xcompiler foo in link mode.
Date: Mon, 7 Sep 2009 21:42:16 +0200
User-agent: Mutt/1.5.20 (2009-08-09)

* Peter Rosin wrote on Sun, Sep 06, 2009 at 07:57:52PM CEST:
> 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...

Well, the test will probably need to be fixed for response files or
environment variables then.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]