在线笔记
全部博文(596)
发布时间: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.重启机子即可......【阅读全文】
发布时间: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.........【阅读全文】
发布时间: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.........【阅读全文】
发布时间:2013-04-26 11:30:34
gprof的基本用法:1. 使用 -pg 选项编译和链接你的应用程序 ,在gcc编译程序的时候,加上-pg选项,如果是大项目,就在makefile里面修改编译选项,-pg放在那里都行。例如: gcc -pg -o test test.c 2. 执行你的应用程序使之生成供gprof 分析的数据,运行刚才的程序: &nbs.........【阅读全文】
发布时间: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.........【阅读全文】