This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCHv2] Change the library search path when using --with-advance-toolchain
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Tulio Magno Quites Machado Filho <tuliom at linux dot ibm dot com>
- Cc: Michael Meissner <meissner at linux dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 5 Oct 2019 12:20:59 -0500
- Subject: Re: [PATCHv2] Change the library search path when using --with-advance-toolchain
- References: <20191003233220.GA7034@ibm-toto.the-meissners.org> <20191004213134.8417-1-tuliom@linux.ibm.com>
On Fri, Oct 04, 2019 at 06:31:34PM -0300, Tulio Magno Quites Machado Filho wrote:
> Remove all -L directories from LINK_OS_EXTRA_SPEC32 and
> LINK_OS_EXTRA_SPEC64 so that user directories specified at
> build time have higher preference over the advance toolchain libraries.
>
> Set MD_STARTFILE_PREFIX to $prefix/lib/ and MD_STARTFILE_PREFIX_1 to
> $at/lib/ so that a compiler library has preference over the Advance
> Toolchain libraries.
This is fine, approved for all branches. Thank you! And thanks to Mike
for the testing.
Segher
> 2019-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
>
> * config.gcc: Move -L usage from LINK_OS_EXTRA_SPEC32 and
> LINK_OS_EXTRA_SPEC64 to MD_STARTFILE_PREFIX and
> MD_STARTFILE_PREFIX_1 when using --with-advance-toolchain.