编译一个服务器端程序,编译release版本后可正常运行,debug编译后运行执行到某一步就不动了,Ctrl+C后,ps查看进程,程序已经退出了 操作系统rh as4,编译器gcc version 3.2.2 本人是新手,什么原因啊?
by matrixnull - C/C++ - 2009-07-15 15:14:33 阅读(4756) 回复(3)
我们知道在windows下开发程序,visual c++会有debug版本和release版本的区别,而且编译器还会根据debug版本和release版本有不同的编译优化选项. 但是在unix下,是否只能通过定义宏 debug来区别两个版本. 比如, 在代码中, if(debug) { ......//debug的版本 } else { ......//release的版本 } 有没有其他的区别呢?不如说编译优化选项????? 谢谢!
文件: tmp.rar 大小: 1KB 下载: 下载 Freebsd 7.1 release On HP2133 min xorg.con and rc.conf file 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6088/showart_1882256.html
:D 很有趣的debug程序,大家自己看看吧! e100 33 f6 bf 0 20 b5 10 f3 a5 8c c8 5 0 2 50 68 13 1 cb e 1f be a1 1 bf 0 1 e11b 6 57 b8 11 1 bb 21 13 89 7 4b 4b 48 79 f9 ad 86 e0 8b c8 bd ff ff e8 20 e134 0 3d 0 1 74 1a 7f 3 aa eb f3 2d ff 0 50 e8 f 0 5a f7 d8 8b d8 26 8a 1 aa e14f 4a 75 f9 eb de cb 57 bb 21 13 8b c1 40 f7 27 f7 f5 8b fb ba 11 1 4f 4f 4a e168 39 5 7f f9 52 8b c5 f7 25 f7 37 2...
debug和release两个版本编译出来的程序是有差别的,release主要的面向用户的,debug是用于调试的。 例如,在一个MFC AppWinzard(EXE)的对话框程序,debug模式下的程序是不能在没有装VC++的机器上面运行的,而release的则可以。但是在基于WIN 32控制台的程序中。两种版本的程序都可以在没有装VC++的机器上面运行的。 其他的还有什么区别不?请高手指点下,也给小弟总结下。
什么叫release vision,什么是debug vision??它们都是用来干吗的啊?? 见下面一段话: download the file oh323tut-1.0-1.tgz (or any newer version, see the downloads page) to a directory and unpack it using the command tar -zxvf oh323tut-1.0-1.tgz Enter the directory oh323tut-1.0-1 and build the application using: make both depend; make bothnoshared. This will give you both the release and debug ...
请问各位linux下怎样编译出debug版本和release版本的软件?debug版本和release版本的软件有什么区别?我查过configure命令的差数,没用without-debug参数。望各位指教,谢谢!
run 文件: #!/bin/csh foreach comp (`awk '{print $4}' list`) awk '{if ($2==comp) print $2,$3}' all >> match endif end list file 如下: aaa bbb ccc ddd all file: DDD aaa path1/aaa DDD XXX ABC DDD bbb path2/bbb DDD ABC AA DDD ccc path3/ccc DDD AA HG DDD ddd path4/ddd 希望结果是: aaa path1/aaa bbb path2/bbb ccc path3/ccc ddd path4/ddd 但是郁闷的是结果不对,