unwind problem when cross compiling

Luo Yong cyberblue.yong@gmail.com
Thu Nov 30 02:46:00 GMT 2006


Hi all

I'm trying to build an cross compiling environment on my i386 PC
following the follow steps:

===>

Binutils
./configure --target=arm-gnu-linux
make
make install

Bootstrap GCC
mkdir _build_
cd _build_
../gcc-4.1.1/configure --host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu --target=arm-gnu-linux --disable-shared
--disable-threads --enable-languages=c --with-newlib --with-gnu-as
--with-gnu-ld --without-headers
make all-gcc
make install-gcc

Glibc
mkdir _build_
cd _build_
CC=arm-gnu-linux-gcc ../glibc-2.3.6/configure --host=arm-gnu-linux
--target=arm-gnu-linux --enable-add-ons
--with-headers=/usr/local/arm-gnu-linux/include
--prefix=/usr/local/arm-gnu-linux --disable-shared --disable-check-abi
--without-tls

<===


But there's  an  error occured:
checking for forced unwind support ... no
configure: error: forced unwind support is required

I only have an bootstrap gcc so I can't build the libunwind library.

How can I solve this problem?

Thanks.



More information about the Gcc-help mailing list