[lfs-support] can't compile gcc pass 1

Roy Birk rabirk at gmail.com
Mon Jan 7 03:49:46 PST 2013


I think that really will help me remember. Thank you.



On Jan 7, 2013, at 2:50 AM, Simon Geard <delgarde at ihug.co.nz> wrote:

> On Sun, 2013-01-06 at 09:06 -0500, Roy Birk wrote:
>> And I might have been better off copying and pasting. It's difficult to
>> tell the difference, in the book, between the number one and the letter
>> L (lower case). I checked man pages and went with whichever seemed more
>> sensible, but got it wrong a couple of times with the -W1 option.
> 
> Oh yeah, misreading '1' and 'l' (and I) is classic. There's a reason a
> lot of countries have restrictions on characters like those appearing on
> car license plates.
> 
> But if it helps you remember it, the 'l' in -Wl stands for linker - it's
> the mechanism for providing parameters that should be passed through to
> the linker (which gcc invokes), not read by gcc itself. So for example,
> passing "-Wl,--verbose" to gcc means that gcc will pass "--verbose" when
> it runs ld.
> 
> Simon.
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page



More information about the lfs-support mailing list