1.编译gdb: 1) mkdir /opt/arm-gdb 2) ./configure --host=i686-pc-linux-gnu --target=arm-926ejs-linux --build=i686-pc-linux-gnu --enable-shared --prefix=/opt/arm-gdb --without-x --disable-gdbtk --disable-tui --without-included-regex --without-included-gettext 3)make;make install 2.编译gdbserver 1)mkdir /opt/arm-gdb/gdbserver 2) ./configure --target=arm-926ejs-linux --host=arm-926ejs-linux --prefix...
请高手帮忙:我在编译gdbserver时出现这样的问题:linux-arm-low.c:26:21: sys/reg.h: No such file or directory ./configure --target=arm-linux --host=arm-linux make CC=/opt/crosstool/gcc-3.4.5-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc
$ ./configure --target=arm-softfloat-linux-gnu --host=arm-softfloat-linux-gnu $ make CC=arm-softfloat-linux-gnu-gcc 编译gdbserver成功后,生成gdbserver可执行文件,但是通过NFS在arm板上gdbserver不能执行。提示: # ./gdbserver 192.168.1.1:2345 hello -sh: ./gdbserver: not found 我的交叉编译器是:arm-softfloat-linux-gcc,不知道有没有什么影响。用的是gdb6.6 谢谢各位指导。 配置gdbserver文件如下: ...
$ ./configure --target=arm-softfloat-linux-gnu --host=arm-softfloat-linux-gnu $ make CC=arm-softfloat-linux-gnu-gcc 编译gdbserver成功后,生成gdbserver可执行文件,但是通过NFS在arm板上gdbserver不能执行。提示: # ./gdbserver 192.168.1.1:2345 hello -sh: ./gdbserver: not found 我的交叉编译器是:arm-softfloat-linux-gcc,不知道有没有什么影响。用的是gdb6.6 谢谢各位指导。 配置gdbserver文件如下: ...
--host=i686-pc-linux-gnu --target=mips-linux 大端 若要小端 则是 'mipsel' info registers 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/36660/showart_695895.html
我执行下面命令后: [root@localhost]cd gdb-6.6 [root@localhost]cd gdb/gdbserver [root@localhost] ./configure --target=arm-softfloat-linux-gnu –-host=arm-softfloat-linux-gnu [root@localhost] make CC=/opt/crosstool/gcc-3.4.1-glibc-2.3.3/arm-softfloat-linux-gnu/bin/arm-softfloat-linux-gnu-gcc 执行上面命令后,遇到下面问题: gcc -c -Wall -g -O2 -I. -I. -I./../regformats -I./../../include -I../../bfd...
错误信息如下: In file included from arch/mips/kernel/asm-offsets.c:14: include/linux/mm.h:514:2: #error SECTIONS_WIDTH+NODES_WIDTH+ZONES_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS 难道是因为版本不同? 我是用2.6.18-92.el5xen编译2.6.3.36就报这个错 不知道怎么改,求大神帮助
RT, 我是参照http://bbs.chinaunix.net/thread-2073219-1-1.html这个帖子来的 前面都没问题,但在编译GCC的时候出现 “checking for C compiler default output file name... configure: error: C compiler cannot create executables” 这个错误 在网上查了下,大多数是因为库不全,安装软件包的时候报的错,跟这个不太一样,不知道怎么弄了 请大神帮助,谢谢 ----------------------------------------------------------...
请教一下在x86上为mips编译sasl, 应该给configure加什么参数啊? 我试了--host=mips --target=mips CC=mips_lexra_fp_be-gcc CPP=mips_lexra_fp_be-gcc, 结果说检查mips_lexra_fp_be-gcc出现 failed sanity check. 怎么办啊?