This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SH Linux: remove big endian multilib
On 05-Aug-2001, M. R. Brown <mrbrown@0xd6.org> wrote:
> * NIIBE Yutaka <gniibe@m17n.org> on Sun, Aug 05, 2001:
>
> >
> > I agree with this more or less. Using specified one is better and
> > simple. But the definition of sh-unknown-linux-gnu is supporting four
> > targets.
>
> According to the people here, sh-unknown-linux-gnu specifies sh3,
> little-endian. You're the only person I've seen that says it represents
> something else.
Doesn't sh3-linux-gnu also specify sh3 little-endian?
If so, what's the point in having two configuration names
for the same configuration?
Even if sh-unknown-linux-gnu previously meant sh3 little-endian,
wouldn't it be more useful to do as NIIBE Yutaka has suggested,
and make sh-unknown-linux-gnu be the multilibbed configuration,
even if that requires installing libc multiple times?
But:
- this should be well documented
- config.guess should never guess sh-unknown-linux-gnu
(I don't know if it does currently)
- if you try to configure with sh-unknown-linux-gnu,
it would be nice if configure would check that you have all
four versions of libc are installed, and report a nice error
message if you don't, rather than just leaving you to get an
obscure error message in the middle of the build.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.