zhengmeifu的linux家园

2010年3月2日

想成为嵌入式程序员应知道的0x10个基本问题

摘要: 想成为嵌入式程序员应知道的0x10个基本问题 阅读全文

posted @ 2010-03-02 16:44 zhengmeifu 阅读(3454) 评论(0) 推荐(0) 编辑
GNU C __attribute__是什么意思?

摘要: GNU C __attribute__ 是什么意思? 阅读全文

posted @ 2010-03-02 16:19 zhengmeifu 阅读(1481) 评论(0) 推荐(0) 编辑
linux-gcc下asmlinkage是什么意思

摘要: The asmlinkage tag is one other thing that we should observe about this simple function. This is a #define for some gcc magic that tells the compiler that the function should not expect to find any of its arguments in registers (a common optimization), but only on the CPU's stack. Recall our earlier assertion that system_call consumes its first argument, the system call number, and allows up to four more arguments that are passed along to the real system call. system_call achieves this feat simp 阅读全文

posted @ 2010-03-02 16:07 zhengmeifu 阅读(2097) 评论(0) 推荐(0) 编辑
linux-gcc 编译时头文件和库文件搜索路径

摘要: gcc 在编译时寻找所需要的头文件 : 1搜寻会从-I开始 2然后找gcc的环境变量 C_INCLUDE_PATH,CPLUS_INCLUDE_PATH,OBJC_INCLUDE_PATH 3再找内定目录 阅读全文

posted @ 2010-03-02 15:41 zhengmeifu 阅读(21770) 评论(1) 推荐(3) 编辑