How to use "Dwarf2 Exception Handler"?

王 刚伟 gwwang10@hotmail.com
Sat Feb 3 05:23:00 GMT 2007


Hi all:

I want to establish a cross compile enviroment that can process exception 
handle(try/throw/catch).

My arches are:
binutils-2.16.92
gcc-4.1-20060407
newlib-1.14.0

My shell to build the enviroment is:

../binutils-2.16.92/configure --target=$TARGET --host=$HOST --build=$BUILD 
--prefix=$PREFIX 2>&1 | tee config.out
make 2>&1 | tee makeall.out
make install 2>&1 | tee makeinstall.out

../gcc-4.1-20060407/configure --target=$TARGET --host=$HOST --build=$BUILD 
--prefix=$PREFIX --with-newlib --with-gnu-as --with-gnu-ld --with-dwarf2 
--enable-threads --enable-languages=c,c++ 
--enable-version-specific-runtime-libs 2>&1 | tee config.out
make all-gcc 2>&1 | tee makeallgcc.out
make install-gcc 2>&1 | tee makeinstallgcc.out

../newlib-1.14.0/configure --target=$TARGET --host=$HOST --build=$BUILD 
--prefix=$PREFIX  2>&1 | tee config.out
make 2>&1 | tee makenewlib.out
make install 2>&1 | tee makeinstallnewlib.out

But the Makefile of directory "libstdc++-v3" is not generated from 
"makefile.am" and "makefile.in",so compiling failed.Is my shell incorrect? 
if so, whant should i modify my shell?

thanks.

--David

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer:   http://explorer.msn.com/lccn/  



More information about the Gcc-help mailing list