1、安装gcc-4.3
$ sudo apt-get install gcc-4.3 g++-4.3
$ sudo apt-get install g++-multilib g++-4.3-multilib
3./usr/bin/ld: cannot find -lz
$sudo apt-get install zlib1g-dev lib32z1-dev
4.error: no include path in which to search for limits.h
将下面写入 /etc/profile,source /etc/profile
export INCLUDE=/usr/lib/gcc/i486-linux-gnu/4.4/include-fixed/:/usr/lib/gcc/i486-linux-gnu/4.4/include/
export C_INCLUDE_PATH=/usr/lib/gcc/i486-linux-gnu/4.4/include-fixed/:/usr/lib/gcc/i486-linux-gnu/4.4/include/
export CPLUS_INCLUDE_PATH=/usr/lib/gcc/i486-linux-gnu/4.4/include-fixed/:/usr/lib/gcc/i486-linux-gnu/4.4/include/
5.frameworks/base/libs/utils/CallStack.cpp:54: error: undefined reference to '_Unwind_GetIP'