automake中Makefile.am和configure.ac的格式及编译过程


http://blog.csdn.net/dingtao7890/article/details/53749493
https://my.oschina.net/qihh/blog/66113


step1:写Makefile.am
step2:执行autoscan,会生成configurae.scan,修改configure.scan内容之后,命名为configure.ac
step3:执行libtoolize,生成config.guess, config.sub, ltmain.sh, ltconfig
step4:执行aclocal,生成aclocal.m4
step5:执行autoconf,生成configure文件
step6:执行atuoheader,生成config.h.in
step7:执行automake --add-missing,生成Makefile.in文件
step8:执行./configure --prefix=`pwd`,生成Makefile文件
step9:执行make && make install,编译&安装二进制文件




Q1:链接错误error while making link: Operation not supported  
由于工程是NTFS/FAT32不支持link(挂载到windows共享上),将工程移到linux下即可解决
http://blog.csdn.net/wqjsir/article/details/24669971

猜你喜欢

转载自blog.csdn.net/al86866365/article/details/78496119
今日推荐