摘要: 3.0.3 双系统 #./configure –-disable-lzo #make install vm安装提示找不到strip 解决方法:cp /usr/bin/strip /usr/local/bin vm安装3.0.1同上 阅读全文
posted @ 2012-09-19 22:46 helloweworld 阅读(349) 评论(0) 推荐(0) 编辑
摘要: http://wiki.ubuntu.org.cn/index.php?title=%E8%B7%9F%E6%88%91%E4%B8%80%E8%B5%B7%E5%86%99Makefile:MakeFile%E4%BB%8B%E7%BB%8D&variant=zh-cn 阅读全文
posted @ 2012-09-19 15:02 helloweworld 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 四个阶段:预编译、编译、汇编和链接。阶段输入输出工具示例预编译*.c*.i预处理器cppgcc –E test.c –o test.i编译*.i*.s 汇编代码编译器egcsgcc –S test.i –o test.s汇编*.s*.o 目标代码汇编器asgcc –c test.s –o test.o链接*.o可执行文件连接器ldgcc test.o –o test简单理解:预编译:替换宏定义的变量和include包含以及进行条件编译;即如#define PI 3.1415,则将文件中的PI用3.1415替换,include文件包含和条件编译同理。编译:生成汇编语言。汇编:生成机器语言。链接: 阅读全文
posted @ 2012-09-19 14:13 helloweworld 阅读(241) 评论(0) 推荐(0) 编辑