链接选项-ldl

from

http://topic.csdn.net/u/20080819/16/9db4c00c-b0d2-48e2-9b1f-c7c7062d373f.html

 

细究了一下编译选项-ldl

查了老半天,不知是关键字没选好,还是google还真的不行了.最终还是靠度娘找到的..

 

 

#include <dlfcn.h>

  dlopen(),dlclose() , dlerror() , dlsym() , the Base Definitions volume of IEEE Std 1003.1-2001, <dlfcn.h>


这些函数,动态库的相关部分

 

-dl ,同楼上所说,是显式加载动态库的动态函数库。~~~真TM绕口。

posted on 2012-07-13 11:39  Orz..  阅读(598)  评论(0编辑  收藏  举报

导航