bfin-xxx-gcc-4.3.1中config.status的生成及运行(4):帮助信息输出

本文详细解析了GCC4.3版本中config.status脚本的生成与运行过程,包括输出注释、Shell检测及文件配置等内容。适用于希望深入了解GCC内部工作原理的读者。

快乐虾

http://blog.youkuaiyun.com/lights_joy/

lights@hb165.com

   

本文适用于

gcc- 4.3.1

Blackfin系列DSP

Visual Studio 2005

   

欢迎转载,但请保留作者信息

 

 

 

 

cat >>$CONFIG_STATUS <</_ACEOF

 

ac_cs_usage="/

/`$as_me' instantiates files from templates according to the

current configuration.

 

Usage: $0 [OPTIONS] [FILE]...

 

  -h, --help       print this help, then exit

  -V, --version    print version number, then exit

  -q, --quiet      do not print progress messages

  -d, --debug      don't remove temporary files

      --recheck    update $as_me by reconfiguring in the same conditions

  --file=FILE[:TEMPLATE]

            instantiate the configuration file FILE

  --header=FILE[:TEMPLATE]

            instantiate the configuration header FILE

 

Configuration files:

$config_files

 

Configuration headers:

$config_headers

 

Configuration commands:

$config_commands

 

Report bugs to <bug-autoconf@gnu.org>."

_ACEOF

 

cat >>$CONFIG_STATUS <<_ACEOF

ac_cs_version="//

config.status

configured by $0, generated by GNU Autoconf 2.59,

  with options //"`echo "$ac_configure_args" | sed 's/[//""/`/$]/////&/g'`//"

 

Copyright (C) 2003 Free Software Foundation, Inc.

This config.status script is free software; the Free Software Foundation

gives unlimited permission to copy, distribute and modify it."

srcdir=$srcdir

_ACEOF

很简单,就是输出一个config.status用法的字符串。再定义版本字符串。

 

 

参考资料

无心插柳-在vs2005中编译GCC4( 2008-1-13 )

gcc交叉编译的实现( 2008-1-25 )

vs2005下编译gcc:工程文件( 2008-1-30 )

asm_out_filegcc汇编代码的生成( 2008-1-30 )

gcc4.1中的machine_mode( 2008-2-1 )

gcc 4.3 configure脚本学习(1):前言( 2008-4-23 )

gcc 4.3 configure脚本学习(2):Be Bourne compatible( 2008-4-24 )

gcc 4.3 configure脚本学习(3):NLS nuisances( 2008-4-24 )

bfin-gcc-4.3.1config.h的生成( 2008-8-5 )

bfin-xxx-gcc-4.3.1config.status的生成及运行(1):输出注释( 2008-8-5 )

bfin-xxx-gcc-4.3.1config.status的生成及运行(2):Shell检测( 2008-8-5 )

bfin-xxx-gcc-4.3.1config.status的生成及运行(3):文件配置( 2008-8-6 )

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

嵌云阁主

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值