[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i386-uclibc debian



2005/9/29, Daniel Ruoso <daniel@ruoso.com>:
> Em Qui, 2005-09-29 às 19:05 +0200, Bastian Blank escreveu:
> > On Thu, Sep 29, 2005 at 01:52:21PM -0300, Daniel Ruoso wrote:
> > > I'm having some problems, but I think it's because gcc is confused about
> > > which toolchain to use, because it still don't know about
> > > i386-uclibc-linux as an architecture, and it's falling back to
> > > i386-linux.
> > This is correct, as the value between i386 and linux is the vendor. Use
> > i386-linux-uclibc.
>
> Even if all the toolchain is named i386-uclibc-linux?
>
> daniel

I think the i386-uclibc-linux toolchain was accidentally misnamed.
buildroot [1], the uClibc toolchain distribution tool, calls the
toolchain xxx-linux-uclibc, not xxx-uclibc-linux. Consider that in
xxx-linux-gnu the -gnu part stands for glibc. Now replace the -gnu
with -uclibc for a uClibc toolchain. You can also play with config.sub
to see this effect:

$ /usr/share/misc/config.sub i386-uclibc-linux
i386-uclibc-linux-gnu
$ /usr/share/misc/config.sub i386-linux-uclibc
i386-pc-linux-uclibc

The latter config name is correct.

Cheers,
Shaun

[1] http://buildroot.uclibc.org/



Reply to: