2010年7月22日
摘要: #include <stdio.h>#include <string.h>#include <stdlib.h>/**** @author: cnscn@163.com* @reference: lovesnow1314@http://community.csdn.net/Expert/TopicView3.asp?id=5198221 ** 用新子串newst... 阅读全文
posted @ 2010-07-22 16:33 chao_yu 阅读(14300) 评论(1) 推荐(1) 编辑
摘要: 1. Linux nm 命令nm [‘-a’|‘--debug-syms’] [‘-g’|‘--extern-only’] [‘-B’] [‘-C’|‘--demangle’[=style]] [‘-D’|&... 阅读全文
posted @ 2010-07-22 08:30 chao_yu 阅读(20247) 评论(0) 推荐(1) 编辑
摘要: 1. gcc/g++在执行编译工作的时候,总共需要4步(1).预处理,生成.i的文件[预处理器cpp](2).将预处理后的文件不转换成汇编语言,生成文件.s[编译器egcs](3).有汇编变为目标代码(机器代码)生成.o的文件[汇编器as](4).连接目标代码,生成可执行程序[链接器ld][参数详解] -x language filename   设定文件所使用的语言,使后缀名无效,对以后的多个... 阅读全文
posted @ 2010-07-22 08:10 chao_yu 阅读(18754) 评论(3) 推荐(4) 编辑