This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, driver] -Wl, passing empty strings to ld
On Fri, Apr 16, 2010 at 09:55:24AM -0700, Jim Wilson wrote:
> On Fri, 2010-04-16 at 17:46 +0200, Jakub Jelinek wrote:
> > I think we should keep -Wl, as is and instead change the linker not
> > to give so confusing error message (for empty filename add quotes
> > around it or add them around always).
>
> This was my next option to try, but it doesn't directly address the
> problem. How is the user supposed to realize that a mis-typed -Wl,
> option is responsible for the empty filename? There is no way for the
> user to make that connection without help. In an industrial
The user can just rerun the command with -### and see where the ""
appears.
Jakub
- References:
- Re: [PATCH, driver] -Wl, passing empty strings to ld
- Re: [PATCH, driver] -Wl, passing empty strings to ld
- Re: [PATCH, driver] -Wl, passing empty strings to ld
- Re: [PATCH, driver] -Wl, passing empty strings to ld
- Re: [PATCH, driver] -Wl, passing empty strings to ld
- Re: [PATCH, driver] -Wl, passing empty strings to ld
- Re: [PATCH, driver] -Wl, passing empty strings to ld
- Re: [PATCH, driver] -Wl, passing empty strings to ld
- Re: [PATCH, driver] -Wl, passing empty strings to ld
- Re: [PATCH, driver] -Wl, passing empty strings to ld