Re: [Patch, mips] Fix warning when using --with-synci

2012-06-26 Thread Richard Sandiford
Steve Ellcey sell...@mips.com writes: On Mon, 2012-06-25 at 20:00 +0100, Richard Sandiford wrote: Or to put it another way, MIPS_ISA_LEVEL_SPEC and MIPS_ARCH_FLOAT_SPEC make the multilib options explicit on the command line. You can then use that information to add whatever options you want

Re: [Patch, mips] Fix warning when using --with-synci

2012-06-26 Thread Steve Ellcey
On Tue, 2012-06-26 at 19:51 +0100, Richard Sandiford wrote: OK, I didn't really understand this setup before, but I think I get it now and I see how I would use this to set -msynci. I guess I would want to create a new triple for a multilib linux mips target so I will work on that

Re: [Patch, mips] Fix warning when using --with-synci

2012-06-25 Thread Steve Ellcey
On Fri, 2012-06-22 at 10:24 +0100, Richard Sandiford wrote: If you use a different target name, the specs for that target can enforce whatever triplet-specific defaults you want. See the DRIVER_SELF_SPECS in vr.h for a particularly involved example. (Yours shouldn't need to be as bad!) I

Re: [Patch, mips] Fix warning when using --with-synci

2012-06-25 Thread Richard Sandiford
Steve Ellcey sell...@mips.com writes: On Fri, 2012-06-22 at 10:24 +0100, Richard Sandiford wrote: If you use a different target name, the specs for that target can enforce whatever triplet-specific defaults you want. See the DRIVER_SELF_SPECS in vr.h for a particularly involved example.

Re: [Patch, mips] Fix warning when using --with-synci

2012-06-25 Thread Steve Ellcey
On Mon, 2012-06-25 at 20:00 +0100, Richard Sandiford wrote: Or to put it another way, MIPS_ISA_LEVEL_SPEC and MIPS_ARCH_FLOAT_SPEC make the multilib options explicit on the command line. You can then use that information to add whatever options you want to be the default for a given

Re: [Patch, mips] Fix warning when using --with-synci

2012-06-22 Thread Richard Sandiford
Steve Ellcey sell...@mips.com writes: That is basically what I am trying to do, build a GCC cross compiler for the mips-linux-gnu target that can support both ABI's/architectures that have synci and ones that don't. I haven't verified this but if I build a GCC for the mips64-linux-gnu target

Re: [Patch, mips] Fix warning when using --with-synci

2012-06-21 Thread Richard Sandiford
Steve Ellcey sell...@mips.com writes: This patch addresses the problem of building GCC for mips with the '--with-synci' configure option. If you do that and then compile a program with GCC and specify an architecture that does not support synci (such as the -mips32 option), GCC will issue a

Re: [Patch, mips] Fix warning when using --with-synci

2012-06-21 Thread Steve Ellcey
On Thu, 2012-06-21 at 19:05 +0100, Richard Sandiford wrote: Steve Ellcey sell...@mips.com writes: This patch addresses the problem of building GCC for mips with the '--with-synci' configure option. If you do that and then compile a program with GCC and specify an architecture that does

[Patch, mips] Fix warning when using --with-synci

2012-06-20 Thread Steve Ellcey
This patch addresses the problem of building GCC for mips with the '--with-synci' configure option. If you do that and then compile a program with GCC and specify an architecture that does not support synci (such as the -mips32 option), GCC will issue a warning that synci is not supported. This