bfin-xxx-gcc-4.3.1中config.status的生成及运行(1):输出注释
来源:互联网 发布:数据宝下载 编辑:程序博客网 时间:2024/05/10 12:49
快乐虾
http://blog.csdn.net/lights_joy/
lights@hb165.com
本文适用于
gcc-
Blackfin系列DSP
Visual Studio 2005
欢迎转载,但请保留作者信息
这是一个动态生成的脚本文件,用于检测一些与编译器具体相关的参数,它由configure脚本生成。
在configure脚本中有一个定义:
: ${CONFIG_STATUS=./config.status}
接下来将内容输出到config.status:
1.1.1.1 输出注释
cat >$CONFIG_STATUS <<_ACEOF
#! $SHELL
# Generated by $as_me.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.
debug=false
ac_cs_recheck=false
ac_cs_silent=false
SHELL=/${CONFIG_SHELL-$SHELL}
_ACEOF
这段代码很简单,就是把_ACEOF之间的内容输出,但是在这里会替换两个变量,将$SHELL替换为/bin/sh,将$as_me替换为configure,因此最后输出到config.status的代码就成了:
#! /bin/sh
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.
debug=false
ac_cs_recheck=false
ac_cs_silent=false
SHELL=${CONFIG_SHELL-/bin/sh}
参考资料
bfin-gcc-4.3.1中config.h的生成(
- bfin-xxx-gcc-4.3.1中config.status的生成及运行(1):输出注释
- bfin-xxx-gcc-4.3.1中config.status的生成及运行(8):配置文件生成
- bfin-xxx-gcc-4.3.1中config.status的生成及运行(4):帮助信息输出
- bfin-xxx-gcc-4.3.1中config.status的生成及运行(2):Shell检测
- bfin-xxx-gcc-4.3.1中config.status的生成及运行(3):文件配置
- bfin-xxx-gcc-4.3.1中config.status的生成及运行(5):参数判断
- bfin-xxx-gcc-4.3.1中config.status的生成及运行(6):子目录获取
- bfin-xxx-gcc-4.3.1中config.status的生成及运行(9):头文件生成
- bfin-xxx-gcc-4.3.1中config.status的生成及运行(7):创建临时目录
- bfin-gcc-4.3.1中config.h的生成
- bfin-xxx-gcc-4.3.1中auto-host.h的生成
- bfin-xxx-gcc的差异(1):猜测
- bfin-xxx-gcc中multilib.h的生成
- bfin-xxx-gcc中tm.h的生成
- bfin-xxx-gcc中options.h的生成
- bfin-xxx-gcc中bconfig.h的生成
- bfin-xxx-gcc中insn-modes.h的生成
- bfin-xxx-gcc中cc1.exe的生成顺序
- Windows运行命令集锦
- 分页 jsf组件dataTable
- 30个精挑细致的Ajax和Javascript 技巧
- 读书笔记------负面测试
- 续分页 jsf组件dataTable
- bfin-xxx-gcc-4.3.1中config.status的生成及运行(1):输出注释
- 小记录一下:ActiveMQ send blobmessage
- Linq Join Operator
- 您的一小步 地球的一大步 省省看软件我的看法&品牌笔记本电脑速度太慢之谜
- Java SE 6中 XML 数字签名的标准 Java 接口
- VS2005怎么打SP1补丁
- SpringSide 3.0.1接踵而来
- 全面理解Java中的String数据类型
- WAP网站攻略wap2.0技巧篇