11 2010 档案

摘要:近日,编译一套代码,用到了boost.python的静态库,由于64bit下linux必须使用-fPIC选项,但是默认这个选项是没有的。研究良久,才明白这么搞:在boost_inc下,编辑vim tools/build/v2/tools/gcc.jam在750行处,添加 toolset.flags $(toolset).compile USER_OPTIONS $(condition)/linkstatic : -fPIC : unchecked ; toolset.flags $(toolset).compile.c++ USER_OPTIONS $(condition)/links 阅读全文

posted @ 2010-11-29 17:32 blackcat 阅读(890) 评论(0) 推荐(0) 编辑 |

摘要:经过一番折腾,OSW终于能处理了,另外附上OSW的一些资料:●命令格式:startOSW.sh $1 $2 $3$1表示收集间隔,单位为秒,默认为30osw$2表示采集的数据的保留时间,单位为小时,默认为48$3表示使用何种压缩工具去压缩收集到的数据例:startOSW.sh 10 8每10秒收集一次,保留8小时的采集数据●图形化查看统计信息:首先设置java命令的path... 阅读全文

posted @ 2010-11-05 21:57 blackcat 阅读(971) 评论(0) 推荐(1) 编辑 |

Copyright © 2024 blackcat
Powered by .NET 8.0 on Kubernetes