Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1447114
  • 博文数量: 596
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 173
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-06 15:50
个人简介

在线笔记

文章分类

全部博文(596)

文章存档

2016年(1)

2015年(104)

2014年(228)

2013年(226)

2012年(26)

2011年(11)

发布时间:2013-04-29 11:07:22

1.下载 libgooglepinyin-0.1.2.tar.bz2 ,http://code.google.com/p/libgooglepinyin/downloads/list2.解压文件3.cd libgooglepinyin  mkdir build; cd build  cmake .. -DCMAKE_INSTALL_PREFIX=/usr  make  sudo make install4.重启机子即可......【阅读全文】

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

发布时间:2013-04-28 12:39:59

cpu profile依赖文件:1)perl5,2)dot,Graphviz - Graph Visualization Software, http://www.graphviz.org/    没有moc-qt4, ln -s /usr/bin/moc /usr/bin/moc-qt43)xaw3d,下载,解压$cd /xc/lib/Xaw3d$vi Imakefile ,删掉XCOMM EXTRA_INCLUDES = -I.$sudo ln -s /xc/lib/Xaw3d /us.........【阅读全文】

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

发布时间:2013-04-27 15:29:44

1.下载内核2.make mrproper3.make headers_checkmake INSTALL_HDR_PATH=dest headers_installcp -rv dest/include/* /tmp/k_include/1.下载GLIBC-2.10.1.TAR.BZ22.tar -jxf GLIBC-2.10.1.TAR.BZ2 && cd glibc-2.10.13.echo "CFLAGS += -march=i486 -mtune=native -U_FORTIFY_SOURCE -fno-stack-protector" > c.........【阅读全文】

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

发布时间:2013-04-26 11:30:34

gprof的基本用法:1. 使用 -pg 选项编译和链接你的应用程序 ,在gcc编译程序的时候,加上-pg选项,如果是大项目,就在makefile里面修改编译选项,-pg放在那里都行。例如:    gcc -pg -o test test.c 2. 执行你的应用程序使之生成供gprof 分析的数据,运行刚才的程序: &nbs.........【阅读全文】

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

发布时间:2013-04-24 14:53:01

1  In most cases the stride is the same as the width. The stride is useful if you are trying to copy/draw a sub-region of a Bitmap. For instance, if you have a 100x100 bitmap and you want to draw the 50x50 top-right corner, you can use a width of 50px and a stride of 100px.2  Stride i.........【阅读全文】

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

登录 注册