This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: configure error : libffi has not been por ted to mipsel-unkown-linux-gnu
- From: David Daney <ddaney at avtrex dot com>
- To: qwangpolestar <qwangpolestar at 163 dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 17 May 2006 22:24:13 -0700
- Subject: Re: configure error : libffi has not been por ted to mipsel-unkown-linux-gnu
- References: <446BE6EF.000032.19294@bj163app52.163.com>
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/>