
C and C++
文章平均质量分 84
RedWolf1999
victim of 996
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
android 4.0.1源码编译成功后运行emulator提示No command 'emulator' found
test1@ubuntu:~/WORKING_DIRECTORY$ emulator No command 'emulator' found, did you mean: Command 'qemulator' from package 'qemulator' (universe) emulator: command not found 1、编辑/etc/environment增加e原创 2012-03-04 12:57:32 · 7728 阅读 · 2 评论 -
linux下的静态库创建与查看,及如何查看某个可执行依赖于哪些动态库
创建静态库: ar -rcs test.a *.o 查看静态库: ar -tv test.a 解压静态库: ar -x test.a 查看程序依赖的动态库: readelf -a xxx|grep library 如:可以看到,下面的交叉程序hello执行依赖于如下两个动态库。 rebi@ubuntu:~/test$ arm-none-linux-gnueabi-reade原创 2012-10-11 23:43:06 · 4572 阅读 · 0 评论 -
一个可用的samba配置
实际上就这几行,其中[rebi]是共享的名称 [rebi] path = /home/rebi writeable = yes browseable = yes guest ok = yes 一个能用的不需要密码的配置: [global] workgroup = WORKGROUP server string = Samba Server V原创 2011-10-02 16:42:11 · 852 阅读 · 2 评论 -
libc错误码对照表
errno0 : Success errno1 : Operation not permitted errno2 : No such file or directory errno3 : No such process errno4 : Interrupted system call errno5 : Inpu原创 2015-02-10 19:53:46 · 2131 阅读 · 0 评论 -
#if defined的使用
#if的使用说明 #if的后面接的是表达式 #if (MAX==10)||(MAX==20) code... #endif #if defined的使用 #if后面接的是一个宏。 #if defined (x) ...code... #endif 这个#if defined它不管里面的“x”的逻辑是“真”还是“假”它只管这个程序的前面的宏定义里转载 2016-04-16 12:15:05 · 1152 阅读 · 0 评论