configure error : libffi has not been por ted to mipsel-unkown-linux-gnu
David Daney
ddaney@avtrex.com
Thu May 18 05:24:00 GMT 2006
qwangpolestar wrote:
> Hi, David
>
> Thanks a lot.
>
> I am using gcc-3.2.2 and glibc-2.3.2. Maybe it's too old.
> How about yours?
>
I never used anything earlier than 3.3.0 on mips. Basic ffi call support
for mips existed in that version. We added ffi closures in 4.0 IIRC
(although I have back ported closures to 3.4 in my private tree). In GCC
4.0 and later ffi is fully supported for the MIPS o32 ABI (which
includes mipsel-linux). The glibc version is irrelevant as far as I know.
David Daney
> Thanks
>
> Polestar
>
> Ãõ Ãô wrote:
> > Hi,
> >
> > I am building the cross-toolchain for mipsel on x86 redhat pc. Now I
> can
> > build the gcc for c using following configuration. ./configure
> > --prefix=/opt/xuelian-toolchain/mipsel-linux-glibc
> --target=mipsel-linux
> > --enable-shared --enable-threads --enable-languages=c
> >
> --with-headers=/opt/xuelian-toolchain/mipsel-linux-glibc/mipsel-linux/include
>
> >
> > make make install
> > But if I want to build it for C++, it failed.
> > ./configure --prefix=/opt/xuelian-toolchain/mipsel-linux-glibc
> > --target=mipsel-linux --enable-shared --enable-threads
> > --enable-languages=c,c++
> >
> --with-headers=/opt/xuelian-toolchain/mipsel-linux-glibc/mipsel-linux/include
>
> >
> > make make install
> > The error is: configure error: libffi has not been ported to
> > mipsel-unknown-linux-gnu
> > How should I do to solve this problem.
> >
>
> This is quite odd. It worked for me several weeks ago.
>
> What version of GCC would you be using?
>
>
> David Daney.
>
>
>
>
>
>
>
> Ãã ²» Ãë Ãà Ãà ½ñ Ãà Ãî ¡°¿á¡± µÃÃà Ãä Ã𠣿
> Ãà º Ãà »ª ´« ó Ãû¯ Ãà Ãà ½ç û Ã÷ ¿à ¼¼ î Ã㬴´ Ãà Ajax ¼¼ Ãõ£¬
> 126 ¡°D ¼à »®¡±»ð Ãà ÃÃ¥ Ãé Ãà £¡ <http://www.126.com/>
More information about the Gcc
mailing list