This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc-2.3.2: cmov generated even for --target=i486-pc-linux-gnu
On Tuesday 21 September 2004 15:15, Denis Vlasenko wrote:
> ../configure \
> --target=i486-pc-linux-gnu \
> --build=i386-pc-linux-gnu \
On Tuesday 21 September 2004 15:30, Andreas Schwab wrote:
> Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> writes:
>
> > Adding appropriate --build= worked around this problem,
> > However, I don't think it's a right solution.
> > --target must be enough to specify target arch.
> > Correct me if I'm wrong.
>
> --target is ignored for anything that is not a compiler. Only --build and
> --host matters.
Well. Adding --build=i486-pc-linux-gnu did not work for me - because
I don't have gcc built for 486. Configure was looking for
i486-pc-linux-gnu-gcc and failing.
I was lucky, I have gcc compiled for 386, so I said so to configure.
Now imagine that one only has gcc compiled for 686. Are you saying that
it is impossible to build 486-clean glibc on a system wuth gcc compiled
for 686? That's silly...
I thought "--target=foo" means "build this so that it will be
runnable on foo". Am I mistaken? What does target=foo means then?
--
vda