Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1527017
  • 博文数量: 290
  • 博客积分: 3468
  • 博客等级: 中校
  • 技术积分: 3461
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-28 22:21
文章分类

全部博文(290)

文章存档

2016年(13)

2015年(3)

2014年(42)

2013年(67)

2012年(90)

2011年(75)

发布时间:2013-11-24 00:34:30

http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html......【阅读全文】

阅读(1543) | 评论(0) | 转发(0)

发布时间:2013-11-22 14:52:22

在Unix、Linux系统中借助objcopy可以轻松的实现调试信息的分离。操作步骤如下:1. 编译# gcc -ggdb3 -o xrand xrand.c2. 生成单独的调试信息文件# objcopy --only-keep-debug xrand xrand.dbg3. 去除调试信息#objcopy --strip-debug xrand或者# strip xrand4. 添加调试信息文件链接# objcopy --add-gnu-debuglink.........【阅读全文】

阅读(3208) | 评论(0) | 转发(0)

发布时间:2013-11-22 14:06:51

1. 减少循环次数a.long n = 10000000000;do {a += 10;} while (--n > 0);b.long n = 1000000000do {a += 10;a += 10;a += 10;a += 10;a += 10;a += 10;a += 10;a += 10;a += 10;a += 10;a += 10;} while (--n > 0);a. 加法 10亿次 循环 10亿次b. 加法 10亿次 循环 1 亿次2. 展开循环采用并行.........【阅读全文】

阅读(1408) | 评论(0) | 转发(1)

发布时间:2013-11-19 15:41:40

本文将介绍Linux下使用Shell处理文本时最常用的工具:find、grep、xargs、sort、uniq、tr、cut、paste、wc、sed、awk;提供的例子和参数都是最常用和最为实用的;我对shell脚本使用的原则是命令单行书写,尽量不要超过2行;如果有更为复杂的任务需求,还是考虑python吧;find 文件查找查找txt和pdf文.........【阅读全文】

阅读(1132) | 评论(0) | 转发(0)

发布时间:2013-11-19 15:21:50

参考链接:http://www.cnblogs.com/leaven/archive/2010/10/13/1850129.htmlhttp://qt-project.org/doc/qt-4.8/qt-embeddedlinux-directfb.htmlapt-get install libdirectfb-dev1. on X86  os: ubuntu 10.04./configure -release -shared -fast -no-largefile -qt-sql-sqlite -no-webkit -qt-zlib -qt-libtiff.........【阅读全文】

阅读(2646) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册