Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1443733
  • 博文数量: 596
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 173
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-06 15:50
个人简介

在线笔记

文章分类

全部博文(596)

文章存档

2016年(1)

2015年(104)

2014年(228)

2013年(226)

2012年(26)

2011年(11)

发布时间: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&.........【阅读全文】

阅读(842) | 评论(0) | 转发(0)

发布时间:2013-03-21 09:34:51

问题:1)设置CFLAGS后,编译无效2)修改Makefile.am,编译无效解决方法:./configure重新生成Makefile......【阅读全文】

阅读(1438) | 评论(0) | 转发(0)

发布时间: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). .........【阅读全文】

阅读(1850) | 评论(0) | 转发(0)

发布时间: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作为后缀,可以被指定静态库、动态库或二者都包括。静态库或动态库的依赖文件(比.........【阅读全文】

阅读(707) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册