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