Re: [PATCH v2 1/4] LoongArch: improved target configuration interface

2023-08-31 Thread Yujie Yang
On Thu, Aug 31, 2023 at 05:56:26PM +, Joseph Myers wrote: > On Thu, 31 Aug 2023, Yujie Yang wrote: > > > -If none of such suffix is present, the configured value of > > -@option{--with-multilib-default} can be used as a common default suffix > > -for all library ABI variants. Otherwise, the d

Re: [PATCH v2 1/4] LoongArch: improved target configuration interface

2023-08-31 Thread Joseph Myers
On Thu, 31 Aug 2023, Yujie Yang wrote: > -If none of such suffix is present, the configured value of > -@option{--with-multilib-default} can be used as a common default suffix > -for all library ABI variants. Otherwise, the default build option > -@code{-march=abi-default} is applied when buildin

Re: [PATCH v2 1/4] LoongArch: improved target configuration interface

2023-08-31 Thread Yujie Yang
On Thu, Aug 31, 2023 at 11:14:13AM +0800, Yujie Yang wrote: > On Wed, Aug 30, 2023 at 09:36:22PM +, Joseph Myers wrote: > > On Wed, 30 Aug 2023, Yang Yujie wrote: > > > > > +A suffix @code{[/ARCH][/OPTION]...]} may follow immediately after the ABI > > > +identifier to customize the compiler op

Re: [PATCH v2 1/4] LoongArch: improved target configuration interface

2023-08-30 Thread Yujie Yang
On Wed, Aug 30, 2023 at 09:36:22PM +, Joseph Myers wrote: > On Wed, 30 Aug 2023, Yang Yujie wrote: > > > +A suffix @code{[/ARCH][/OPTION]...]} may follow immediately after the ABI > > +identifier to customize the compiler options for building the given set of > > +libraries. @code{ARCH} denot

Re: [PATCH v2 1/4] LoongArch: improved target configuration interface

2023-08-30 Thread Joseph Myers
On Wed, 30 Aug 2023, Yang Yujie wrote: > +A suffix @code{[/ARCH][/OPTION]...]} may follow immediately after the ABI > +identifier to customize the compiler options for building the given set of > +libraries. @code{ARCH} denotes the architecture name recognized by the > +@code{-march=ARCH} compile

[PATCH v2 1/4] LoongArch: improved target configuration interface

2023-08-29 Thread Yang Yujie
The configure script and the GCC driver are updated so that it is easier to customize and control GCC builds for targeting different LoongArch implementations. * Make --with-abi obsolete, since it might cause different default ABI under the same target triplet, which is undesirable. The default