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: Michael Eager <eager at mvista dot com>
- Subject: Re: SH Linux: remove big endian multilib
- From: NIIBE Yutaka <gniibe at m17n dot org>
- Date: Sat, 4 Aug 2001 13:35:10 +0900 (JST)
- Cc: Andrew Haley <aph at cambridge dot redhat 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>
Michael Eager wrote:
> I see no value in multilib gcc for Linux systems. You either have a
> big-endian or little-endian target, with glibc built for that target.
>
> We have a patch in our gcc-sh build to build for a single, specified
> architecture, without the unnecessary complexities of multilib.
Yup. I agree this.
> I'm all in favor of removing multilib for sh-linux.
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.
It seems that you don't read my patch (and argument) sent to
gcc-patches at all. Could you please read it. Is the patch is OK for
you?
Well, I explain again. My point is,
(1) We should support following four targets in GCC which is NOT multilibbed.
sh3-unknown-linux-gnu
sh3eb-unknown-linux-gnu
sh4-unknown-linux-gnu
sh4eb-unknown-linux-gnu
With those single specified architecture targets, you can build GCC,
with GNU C library. To do this, I need a patch I've sent to gcc-patches.
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.
(3) If you don't like multilibbed environment, just not use
sh-unknown-linux-gnu, which supports multiple targets.
Instead, use single one.
(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.
(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).
--