Re: [PATCH v2] Add `--with-install-sysroot=' configuration option

2019-11-28 Thread Joseph Myers
On Thu, 28 Nov 2019, Maciej W. Rozycki wrote: > > > > Rather, it's a suffix (as in SYSROOT_SUFFIX_SPEC, no command-line option > > to print it), > > Do you mean that there's no option to print SYSROOT_SUFFIX_SPEC on its > own or that no option prints it as a path component? If the latter,

Re: [PATCH v2] Add `--with-install-sysroot=' configuration option

2019-11-28 Thread Maciej W. Rozycki
On Fri, 22 Nov 2019, Joseph Myers wrote: > > As I recall the MIPS sysroot setup (please correct me if I got something > > wrong here) was like: > > Yes, that's the sort of layout you get with sysroot suffixes. See > gcc/config/mips/{st.h,t-st} for an example. Thanks for the pointer. > >

Re: [PATCH v2] Add `--with-install-sysroot=' configuration option

2019-11-22 Thread Joseph Myers
On Fri, 22 Nov 2019, Maciej W. Rozycki wrote: > As I recall the MIPS sysroot setup (please correct me if I got something > wrong here) was like: Yes, that's the sort of layout you get with sysroot suffixes. See gcc/config/mips/{st.h,t-st} for an example. > Then the right-hand side of

Re: [PATCH v2] Add `--with-install-sysroot=' configuration option

2019-11-22 Thread Maciej W. Rozycki
On Wed, 20 Nov 2019, Joseph Myers wrote: > > Thanks for your concern, however again, AFAICT this change is tangential > > to any sysroot suffix, which necessarily has to be already included in the > > multilib OS directory as given by `-print-multi-os-directory', so that it > > gets embedded

Re: [PATCH v2] Add `--with-install-sysroot=' configuration option

2019-11-20 Thread Joseph Myers
On Wed, 20 Nov 2019, Maciej W. Rozycki wrote: > > But even then, if you configure GCC using "--with-sysroot" or > > "--with-build-sysroot", both of those paths are the top-level sysroot, to > > which the sysroot suffix gets appended before GCC uses it for any purpose, > > unless you explicitly

Re: [PATCH v2] Add `--with-install-sysroot=' configuration option

2019-11-19 Thread Maciej W. Rozycki
On Tue, 19 Nov 2019, Joseph Myers wrote: > > > 4. How does this interact with sysroot suffixes (again, this should be > > > made clear in the documentation)? > > > > There is no interaction, the patch merely changes where the libraries are > > installed. If the installation sysroot directory

Re: [PATCH v2] Add `--with-install-sysroot=' configuration option

2019-11-18 Thread Joseph Myers
On Mon, 18 Nov 2019, Maciej W. Rozycki wrote: > > 4. How does this interact with sysroot suffixes (again, this should be > > made clear in the documentation)? > > There is no interaction, the patch merely changes where the libraries are > installed. If the installation sysroot directory

[PATCH v2] Add `--with-install-sysroot=' configuration option

2019-11-17 Thread Maciej W. Rozycki
Provide means, in the form of a `--with-install-sysroot=' configuration option, to override the default installation directory for target libraries, otherwise known as $toolexeclibdir. This is so that it is possible to get newly-built libraries, particularly the shared ones, installed in a