王 启 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.