[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug ld/21251] Support $SYSROOT in ld -L and INPUT command
From: |
Nick Clifton |
Subject: |
Re: [Bug ld/21251] Support $SYSROOT in ld -L and INPUT command |
Date: |
Wed, 24 May 2017 14:42:03 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
Hi Rainer,
>> Hmm, I was going to say not a lot, but then I remembered that GCC uses it:
>>
>> https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html
>
> Maybe I'm blind, but where did you see that?
Umm, do you mean "where in that web page do I see an '=' prefix being used
to indicate that a sysroot should be used ?" Then, right at the start:
-idirafter dir
Add the directory dir to the list of directories to be searched
for header files during preprocessing. If dir begins with ‘=’,
then the ‘=’ is replaced by the sysroot prefix; see --sysroot and -isysroot.
If you mean, "where does this information come from ?" The have a look in
gcc/doc/cppdiropts.texi.
> I'd have been surprised to find pure linker option descriptions repeated
> in the GCC manual, so I didn't even think to look.
Well to be honest it is talking about the c-preprocessor include path options
rather than the linker search path, but I think that it establishes a principle
which users will expect to be followed. IE if include paths can use a '='
prefix
then library search paths should be able to as well.
Cheers
Nick
- [Bug ld/21251] Support $SYSROOT in ld -L and INPUT command, ro at CeBiTec dot Uni-Bielefeld.DE, 2017/05/18
- [Bug ld/21251] Support $SYSROOT in ld -L and INPUT command, cvs-commit at gcc dot gnu.org, 2017/05/18
- [Bug ld/21251] Support $SYSROOT in ld -L and INPUT command, nickc at redhat dot com, 2017/05/18
- [Bug ld/21251] Support $SYSROOT in ld -L and INPUT command, ro at CeBiTec dot Uni-Bielefeld.DE, 2017/05/23
- Re: [Bug ld/21251] Support $SYSROOT in ld -L and INPUT command,
Nick Clifton <=
- [Bug ld/21251] Support $SYSROOT in ld -L and INPUT command, nickc at redhat dot com, 2017/05/24
- [Bug ld/21251] Support $SYSROOT in ld -L and INPUT command, ro at CeBiTec dot Uni-Bielefeld.DE, 2017/05/31