This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ada, build] host/target configuration
- From: Olivier Hainque <hainque at adacore dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Olivier Hainque <hainque at adacore dot com>, Arnaud Charlet <charlet at adacore dot com>, Paolo Bonzini <bonzini at gnu dot org>, Thomas Schwinge <thomas at codesourcery dot com>, gcc-patches at gcc dot gnu dot org, Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>, ebotcazou at adacore dot com, obry at adacore dot com, dj at redhat dot com, neroden at gcc dot gnu dot org, Ralf dot Wildenhues at gmx dot de
- Date: Tue, 4 Jun 2013 17:13:22 +0200
- Subject: Re: [ada, build] host/target configuration
- References: <yddli7p95zm dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <87txlnlg0z dot fsf at kepler dot schwinge dot homeip dot net> <87zjvejc02 dot fsf at kepler dot schwinge dot homeip dot net> <51A60EF2 dot 5000605 at gnu dot org> <20130530134425 dot GA15756 at adacore dot com> <E42B5EE6-E7F0-4AC3-AAB0-7E7E0D050A01 at adacore dot com> <02C3D703-FE37-43A4-9704-A6FF9C81456B at adacore dot com> <ora9n8gw46 dot fsf at livre dot home> <499275AA-3423-403D-8D37-5CCFE1675B33 at adacore dot com>
On Jun 3, 2013, at 22:59 , Olivier Hainque <hainque@adacore.com> wrote:
>> I suggest another approach: if there are significant differences between
>> the run-time systems, they ought to be preserved in the canonical target
>> names. So, adjust config.sub so that it preserve them, and then we can
>> decide based on the canonical target name only.
>
> Can we do that without adding loads of
> instances of this canonical names in all the
> switch/case statements around ?
>
> The idea was trying not to go there because
> this is a maintenance pain, essentially pointless
> if the only differences are a couple of Ada
> RTS unit selections.
I can't help but thinking there might be something else that would deserve
using a different canonical name. I need to dig in further to determine.
Olivier