Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3432863
  • 博文数量: 1450
  • 博客积分: 11163
  • 博客等级: 上将
  • 技术积分: 11101
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-25 14:40
文章分类

全部博文(1450)

文章存档

2017年(5)

2014年(2)

2013年(3)

2012年(35)

2011年(39)

2010年(88)

2009年(395)

2008年(382)

2007年(241)

2006年(246)

2005年(14)

分类: LINUX

2008-05-05 15:36:11

Writing Portable C++ with GNU Autotools:

autoscan

    autoscan.log

    configure.scan

    mv configure.scan configure.in

        AM_INIT_AUTOMAKE

        AC_PROG_LIBTOOL

aclocal

    autom4te.cache

    aclocal.m4

autoconf

    configure



libtoolize -c -f

    config.guess

    config.sub

    ltmain.sh

autoheader

    config.h.in

automake --add-missing (它需要 makefile.am 文件)

    install-sh -> /usr/share/automake-1.9/install-sh
    missing -> /usr/share/automake-1.9/missing
    depcomp -> /usr/share/automake-1.9/depcomp
    INSTALL -> /usr/share/automake-1.9/INSTALL
    COPYING -> /usr/share/automake-1.9/COPYING

    makefile.in

touch NEWS AUTHORS ChangeLog README

CXX="ccache distcc" ./configure --prefix=(make install 的安装目录)

    libtool

    config.status

make

make install 安装

make dist    构建 .tar.gz

阅读(569) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~