Why the "--with-sysroot" option is not shown when I use the "--help" option?

Andrew Haley aph@redhat.com
Fri Mar 18 13:42:00 GMT 2016


On 03/17/2016 08:14 AM, YuGiOhJCJ Mailing-List wrote:
> Hello,
> 
> In the installation documentation for gcc [1], I can read the description of the "--with-sysroot" option.
> But when I do:
> $ ./configure --help | grep -- --with-sysroot
> I have no result.
> Does that mean that this option is not available in gcc-5.3.0?

No, it does not mean that.

> Is there a reason to not show this "--with-sysroot" option when using the "--help" option?

No, but GCC 5.3 isn't going to be changed now.

> Hopefully, gcc has an installation guide explaining this option but binutils does not have an installation guide.
> As binutils does not list this option too, it is really hard to find the description of this option for binutils.
> How a user can be aware of the existence of the "--with-sysroot" option for binutils?

I have no idea.  Patches welcome, I imagine.

Andrew.




More information about the Gcc-help mailing list