六狼论坛's Archiver
首页
›
C++
› linux gcc 编译中指定动态库的名字和路径
kulinglei
发表于 2013-2-5 01:29:44
linux gcc 编译中指定动态库的名字和路径
gcc -c xxx.c -I/头文件的路径
一般是:
gcc -c read.c -I/home/speex/include
gcc -o read read.o -L/home/speex/lib -l/speex
-L/动态库的路径
-I/动态库的名字
页:
[1]
查看完整版本:
linux gcc 编译中指定动态库的名字和路径