This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SH Linux: remove big endian multilib
- To: NIIBE Yutaka <gniibe at m17n dot org>
- Subject: Re: SH Linux: remove big endian multilib
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- Date: Mon, 6 Aug 2001 12:58:39 +0100 (BST)
- Cc: Michael Eager <eager at mvista dot com>, amylaar at redhat dot com,gcc at gcc dot gnu dot org
- References: <15198.53597.668480.832931@cuddles.cambridge.redhat.com><200107270834.f6R8Y5u21170@mule.m17n.org><3B6B6CE4.2A076E08@mvista.com><200108040435.f744ZAo18841@mule.m17n.org>
NIIBE Yutaka writes:
> But this is irrelevant. I agree that sets of "single specified"
> target is good. But I believe that the definition of
> sh-unknown-linux-gnu (sh-linux in short) is supporting multiple
> targets.
I know that you believe that. I, on the other hand, believe it's the
wrong thing to do, and it makes no sense to do it.
> Do you agree this?
>
> (2) Removing multilib from sh-unknown-linux-gnu is questionable for me.
> I'm afraid of it just means let the target sh-unknown-linux-gnu
> as sh3-unknown-linux-gnu.
Right, which it already does as far as glibc is concerned. As far as
I know the multilibbing of sh-unknown-linux-gnu was simply a mistake.
> (3) If you don't like multilibbed environment, just not use
> sh-unknown-linux-gnu, which supports multiple targets.
> Instead, use single one.
Yes, I know that's your opinion. However, it makes more sense to me
to leave sh-unknown-linux-gnu compatible with glibc. This means as
sh3, little endian. However, sh-unknown-linux-gnu may well be phased
out over time.
> (4) I believe that the target sh-unknown-linux-gnu means supporting
> four targets:
> sh3-unknown-linux-gnu
> sh3eb-unknown-linux-gnu
> sh4-unknown-linux-gnu
> sh4eb-unknown-linux-gnu
> To suppurts those four targets, it uses multilib.
It does not support these because it does not build, at least not
without some great contortions.
> (5) Currently, GNU C library doesn't support multilibed installation.
> However, you can manually set up the environment. Compile &
> install & move for those four targets (four times).
Do you actually do this? Do you believe that it is the sensible thing
to do by default for sh-unknown-linux-gnu ?
Andrew.