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

在线笔记

文章分类

全部博文(596)

文章存档

2016年(1)

2015年(104)

2014年(228)

2013年(226)

2012年(26)

2011年(11)

分类: C/C++

2013-03-20 14:57:01

8.9 C++ Support
Automake 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).
    A few additional variables are defined when a C++ source file is seen:

  1. CXX,The name of the C++ compiler.
  2. CXXFLAGS,Any flags to pass to the C++ compiler.
  3. AM_CXXFLAGS,The maintainer’s variant of CXXFLAGS.  CXXFLAGS的变体
  4. CXXCOMPILE,The command used to actually compile a C++ source file. The file name is appended to form the complete command line.
  5. CXXLINK,The command used to actually link a C++ program.
阅读(1871) | 评论(0) | 转发(0) |
0

上一篇:Makefile.am

下一篇:设置CFLAGS后,编译无效

给主人留下些什么吧!~~