摘要: 转载自:https://www.howtoforge.com/linux-ldd-command/ Linux ldd Command Explained with Examples On this page Linux ldd command Q1. How to use the ldd comm 阅读全文
posted @ 2021-04-18 20:35 逃之夭夭uu 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 转载自:https://www.thegeekstuff.com/2012/03/linux-nm-command/#:~:text=Another%20powerful%20feature%20of%20nm%20command%20is%20to,nm%20provides%20a%20flag 阅读全文
posted @ 2021-04-18 19:47 逃之夭夭uu 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 经常可以在C的头文件中看到如下代码: 1 #ifdef __cplusplus 2 extern "C" { 3 #endif 4 /* head file contents */ 5 #ifdef __cplusplus 6 } 7 #endif 那么这一段代码的作用又是什么呢? 查询的时候发现一 阅读全文
posted @ 2021-04-18 15:12 逃之夭夭uu 阅读(472) 评论(0) 推荐(0) 编辑
摘要: extern int a[]; //size of array extern数组时,链接器并不知道数组的大小信息; When compiling b.c, the compiler doesn't know the size of a - you haven't told it. All it kn 阅读全文
posted @ 2021-04-18 01:00 逃之夭夭uu 阅读(695) 评论(0) 推荐(0) 编辑