2012年6月13日
摘要: -I /home/hello/include表示将/home/hello/include目录作为第一个寻找头文件的目录,寻找的顺序是:/home/hello/include-->/usr/include-->/usr/local/include-L /home/hello/lib表示将/home/hello/lib目录作为第一个寻找库文件的目录,寻找的顺序是:/home/hello/lib-->/lib-->/usr/lib-->/usr/local/lib-lworld表示在上面的lib的路径中寻找libworld.so动态库文件(如果gcc编译选项中加入了“- 阅读全文
posted @ 2012-06-13 16:39 yifans1989 阅读(106) 评论(0) 推荐(0)