This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
SH Linux: remove big endian multilib
- To: Andrew Haley <aph at cambridge dot redhat dot com>
- Subject: SH Linux: remove big endian multilib
- From: NIIBE Yutaka <gniibe at m17n dot org>
- Date: Fri, 27 Jul 2001 17:34:05 +0900 (JST)
- Cc: amylaar at redhat dot com, gcc at gcc dot gnu dot org
- References: <15198.53597.668480.832931@cuddles.cambridge.redhat.com>
Andrew Haley wrote:
> On SH Linux glibc isn't multilibbed, so it make no sense at all to try
> to build big endian multilibs. There's no way that it's possible to
> build them because there's no big endian libc.so or ld-linux.so or
> crt1.o to link against.
I think that the target "sh-unknown-linux-gnu" supports all of SH-3,
SH-3 Big endian, SH-4 and SH-4 big endian, while
"sh3-unknown-linux-gnu"
"sh3eb-unknown-linux-gnu"
"sh4-unknown-linux-gnu"
"sh4eb-unknown-linux-gnu"
just supports corresponding one target (no multilib).
So, I don't think your patch is correct approach. In the first place,
why do we need glibc to build GCC? At least, building GNU C compiler
should be able to be done with no glibc (to bootstrap).
If you don't have glibc with big endian (or other targets), you can
build it. Yes, it is not (yet) multilibbed, but it supports all of
those four targets: "sh3-unknown-linux-gnu",
"sh3eb-unknown-linux-gnu", "sh4-unknown-linux-gnu", and
"sh4eb-unknown-linux-gnu". So, it's just your installation problem,
isn't it?
--