This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

unwind problem when cross compiling


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]