
Linux
RobinKin
这个作者很懒,什么都没留下…
展开
-
CMake是一个跨平台的安装(编译)工具
//整理by RobinKin (王亮)CMake is a cross platform build manager. It was developed to support a single input describing a build process that works on all platforms. However, instead of taking over the buil原创 2005-03-15 13:49:00 · 1984 阅读 · 0 评论 -
关于 clock_gettime() 的一个问题以及解决方法
在新的2.6x内核上 编译使用这个函数的程序的时候 会发现 ,如果gcc -lpthead .... 无法链接成功 ,原因在于 , libpthread.so中没有这个函数的实现(但是 libpthread.a中有)还有一个librt.so librt.a中也有这个函数的实现于是有两个选择,要么静态链接pthread 要么 加上 -lrt原创 2005-03-16 14:32:00 · 5636 阅读 · 0 评论