08 2021 档案

摘要:ARRAY_SIZE() #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0])) Macro to compute the size of the static array arr . Parameters arr static array ALIG 阅读全文
posted @ 2021-08-24 11:08 sinferwu 编辑
摘要:QEMU使用Meson构建系统 Meson+Ninja https://github.com/tiernemi/meson-sample-project Zephyr Kconfig+Cmake 实现 Menuconfig https://github.com/jameswalmsley/cmake 阅读全文
posted @ 2021-08-23 18:55 sinferwu 编辑
摘要:LIBRARY_PATH和LD_LIBRARY_PATH是Linux下的两个环境变量,二者的含义和作用分别如下: LIBRARY_PATH环境变量用于在程序编译期间查找动态链接库时指定查找共享库的路径,例如,指定gcc编译需要用到的动态链接库的目录。设置方法如下(其中,LIBDIR1和LIBDIR2 阅读全文
posted @ 2021-08-23 15:26 sinferwu 编辑
摘要:https://en.cppreference.com/w/c/language/struct_initialization Struct and union initialization C C language Initialization When initializing an object 阅读全文
posted @ 2021-08-23 15:13 sinferwu 编辑
摘要:ar -t libxxx.a nm -e libxxx.a nm -g libxxx.a .a静态库文件实际上就是.o目标文件的集合 x[o] - extract file(s) from the archivear -x libxxx.a 提取目标文件 file add.o nm add.o nm 阅读全文
posted @ 2021-08-20 15:07 sinferwu 编辑

点击右上角即可分享
微信分享提示