交叉编译GDB7.6
来源:互联网 发布:淘宝diy u盘好 编辑:程序博客网 时间:2024/05/16 00:36
交叉编译GDB7.6
./configure --host=arm-linux --enable-targets=arm-linux --prefix=/home/jieen/workspace/third/debug_Tools/build_gdb_arm
make
出现了:
configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap library found
make[1]: *** [configure-gdb] 错误 1
交叉编译ncurses
./configure --host=arm-linux --prefix=/home/jieen/workspace/third/debug_Tools/build_ncurses
make
出现了如下错误
/lib/libAdaCurses.a(c_varargs_to_ada.o): Relocations in generic ELF (EM: 40)
../lib/libAdaCurses.a: could not read symbols: File in wrong format
可以暂时忽略此错误
make install
在build_ncurses下的lib目录下找到libncurses.a
链接libtermcap.a到libncurses.a
重新make 出现
/tui/tui-data.h:37: error: expected specifier-qualifier-list before 'WINDOW'
In file included from ./tui/tui-command.c:26:
./tui/tui-win.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_ulcorner'
./tui/tui-win.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_urcorner'
./tui/tui-win.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_lrcorner'
./tui/tui-win.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_llcorner'
./tui/tui-win.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_vline'
./tui/tui-win.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_hline'
禁用掉tui,文本用户界面(这个很少用)
./configure --host=arm-linux --target=arm-linux --disable-tui --prefix=/home/jieen/workspace/third/debug_Tools/build_gdb_arm
make
make install
./configure --host=arm-linux --enable-targets=arm-linux --prefix=/home/jieen/workspace/third/debug_Tools/build_gdb_arm
make
出现了:
configure: WARNING: no enhanced curses library found; disabling TUI
checking for library containing tgetent... no
configure: error: no termcap library found
make[1]: *** [configure-gdb] 错误 1
交叉编译ncurses
./configure --host=arm-linux --prefix=/home/jieen/workspace/third/debug_Tools/build_ncurses
make
出现了如下错误
/lib/libAdaCurses.a(c_varargs_to_ada.o): Relocations in generic ELF (EM: 40)
../lib/libAdaCurses.a: could not read symbols: File in wrong format
可以暂时忽略此错误
make install
在build_ncurses下的lib目录下找到libncurses.a
链接libtermcap.a到libncurses.a
重新make 出现
/tui/tui-data.h:37: error: expected specifier-qualifier-list before 'WINDOW'
In file included from ./tui/tui-command.c:26:
./tui/tui-win.h:39: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_ulcorner'
./tui/tui-win.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_urcorner'
./tui/tui-win.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_lrcorner'
./tui/tui-win.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_llcorner'
./tui/tui-win.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_vline'
./tui/tui-win.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_hline'
禁用掉tui,文本用户界面(这个很少用)
./configure --host=arm-linux --target=arm-linux --disable-tui --prefix=/home/jieen/workspace/third/debug_Tools/build_gdb_arm
make
make install
- 交叉编译GDB7.6
- Arm-linux-tools4.3.2 + Ubuntu10.04 交叉编译gdb7.2
- 交叉编译gdb7.4 for SAMSUNG GT-I9100
- 交叉编译开源软件的固定套路,以编译最新的gdb7.5 for arm为例
- redhat 升级gdb7.6
- 编译android strace ltrace gdb7.11
- 交叉编译ncurses5.6
- jpeg-6b交叉编译
- 6、交叉编译libjpeg-7
- imx6ul+QT5.6交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 交叉编译
- 关于appweb配置详解
- java的Calendar时间类
- <Java编程思想> 初始化与清理
- HDU2830-----DP最大子矩阵系列
- void* memchr( void *pv, unsigned char ch, size_t size )
- 交叉编译GDB7.6
- IE下点击scrollbar会导致焦点移动到body
- CSDN一月使用感受
- NULL值的总结
- 用2个数字输出你想要的汉字
- ios开发切换页面特效
- 写给明天的软件工程师——感悟篇
- 获得LayoutInflater实例的三种方式
- 多版本Python共存[支持使用pip安装包]