ChinaUnix.net
相关文章推荐:

arm-linux-g

小弟在编译时报错:ANSI C++ forbits data member "ip_opts" with same name as encloing class.这个ip_opts是定义在bits/in.h中的,结构如下 struct ip_opts { struct in_addr, ip_dst; char ip_opts[40] ; } 请问大家有没有什么办法可以解决的

by xiaojiemao - C/C++ - 2005-06-27 09:50:01 阅读(1053) 回复(0)

相关讨论

我们是这样做的: 1。在主机上编译程序aaa.cpp。(主机上有arm-linux-strip,arm-linux-gcc等命令,即有编译环境) arm-linux-g++ -o aaa aaa.cpp 2。终端里运行的是经裁减的linux,只具备基本的操作命令,类似cd。终端与主机通过串口线相连,在主机上运行超级终端程序显示终端运行情况。通过tftp 之类的工具把aaa 下到终端里面 。 3。在终端里面运行aaa.不多时程序死掉 问题: 1。怎样调试程序aaa?

by prettyboy1 - 内核/嵌入技术 - 2005-08-24 09:29:44 阅读(980) 回复(2)

我们是这样做的: 1。在主机上编译程序aaa.cpp。(主机上有arm-linux-strip,arm-linux-gcc等命令,即有编译环境) arm-linux-g++ -o aaa aaa.cpp 2。终端里运行的是经裁减的linux,只具备基本的操作命令,类似cd。终端与主机通过串口线相连,在主机上运行超级终端程序显示终端运行情况。通过tftp 之类的工具把aaa 下到终端里面 。 3。在终端里面运行aaa.不多时程序死掉 问题: 1。怎样调试程序aaa?

by prettyboy1 - 内核源码 - 2005-08-24 09:29:44 阅读(2472) 回复(2)

arm-linux-g++ 编译出的程序用什么调试器调试?有没类似gdb的arm-linux-gdb?

by prettyboy1 - Linux论坛 - 2005-08-22 11:05:01 阅读(1143) 回复(6)

arm-linux-g++ 编译出的程序用什么调试器调试?有没类似gdb的arm-linux-gdb?

by prettyboy1 - Linux系统管理 - 2005-08-22 11:05:01 阅读(1326) 回复(6)

在pc机上用arm-linux-g++编译出的程序,比如aaa,下到终端机里面运行(终端里面运行的是精简的linux),有时会死掉,不知怎样调试?可有arm-linux-gdb?

by prettyboy1 - 内核/嵌入技术 - 2005-07-22 15:50:26 阅读(1073) 回复(1)

在pc机上用arm-linux-g++编译出的程序,比如aaa,下到终端机里面运行(终端里面运行的是精简的linux),有时会死掉,不知怎样调试?可有arm-linux-gdb?

by prettyboy1 - 内核源码 - 2005-07-22 15:50:26 阅读(2833) 回复(1)

小弟在arm-linux的交叉编译环境中编译我的应用程序,编译的时候报错如下: ANSI C++ forbits data member "ip_opts" with same name as encloing class.我发现在/bits/in.h中有如下定义: struct ip_opts { struct in_addr, ip_dst; char ip_opts[40] ; } 请问大家有没有什么解决办法,怎么样才能pass?太谢谢了

by xiaojiemao - 内核/嵌入技术 - 2005-06-27 09:44:36 阅读(602) 回复(0)

小弟在arm-linux的交叉编译环境中编译我的应用程序,编译的时候报错如下: ANSI C++ forbits data member "ip_opts" with same name as encloing class.我发现在/bits/in.h中有如下定义: struct ip_opts { struct in_addr, ip_dst; char ip_opts[40] ; } 请问大家有没有什么解决办法,怎么样才能pass?太谢谢了

by xiaojiemao - 内核源码 - 2005-06-27 09:44:36 阅读(1142) 回复(0)