在线笔记
全部博文(596)
发布时间:2013-08-01 09:26:17
CPPFLAGS is supposed to be for flags for the C PreProcessor; CXXFLAGS is for flags for the C++ compiler.The default rules in make (on my machine, at any rate) pass CPPFLAGS to just about everything,CFLAGS is only passed when compiling and linking C, and&.........【阅读全文】
发布时间:2013-03-21 09:34:51
问题:1)设置CFLAGS后,编译无效2)修改Makefile.am,编译无效解决方法:./configure重新生成Makefile......【阅读全文】
发布时间:2013-03-20 14:57:01
8.9 C++ SupportAutomake includes full support for C++. Any package including C++ code must define the output variable CXX in ‘configure.ac’;the simplest way to do this is to use the AC_PROG_CXX macro (see Section “ParticularProgram Checks” in The Autoconf Manual). .........【阅读全文】
发布时间:2013-03-19 18:59:29
##程序#bin_PROGRAMS = hello #Makefile.in将会生成一个程序,名为hellohello_SOURCES = hello.c util.c #程序的依赖文件hello_LDADD = libcpio.a #依赖的库Libtool 抽象静态库和动态库为Libtool libraryes。Libtool使用.la作为后缀,可以被指定静态库、动态库或二者都包括。静态库或动态库的依赖文件(比.........【阅读全文】