configure error : libffi has not been por ted to mipsel-unkown-linux-gnu

王 启 qwangpolestar@hotmail.com
Wed May 17 03:19:00 GMT 2006


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.

Thanks a lot!

Polestar




More information about the Gcc mailing list