1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
9 <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />
10 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
11 <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
12 "text/css" media="print" />
14 <body class="lfs" id="lfs-7.2">
15 <div class="navheader">
17 Linux From Scratch - Version 7.2
24 <a accesskey="p" href="iana-etc.html" title=
25 "Iana-Etc-2.30">前のページ</a>
31 <a accesskey="n" href="bison.html" title="Bison-2.6.2">次のページ</a>
37 <a accesskey="u" href="chapter06.html" title=
38 "第6章 基本的なソフトウェアのインストール">上に戻る</a>
41 <a accesskey="h" href="../index.html" title=
42 "Linux From Scratch - Version 7.2">ホーム</a>
46 <div class="wrap" lang="ja" xml:lang="ja">
48 <a id="ch-system-m4" name="ch-system-m4"></a>6.28. M4-1.4.16
50 <div class="package" lang="ja" xml:lang="ja">
52 M4 パッケージはマクロプロセッサーを提供します。
54 <div class="segmentedlist">
55 <div class="seglistitem">
57 <strong class="segtitle">概算ビルド時間:</strong> <span class=
58 "segbody">0.4 SBU</span>
61 <strong class="segtitle">必要ディスク容量:</strong> <span class=
62 "segbody">26.6 MB</span>
67 <div class="installation" lang="ja" xml:lang="ja">
72 本パッケージと Glibc-2.16.0 との互換性がないため、これを修正します。
74 <pre class="userinput">
75 <kbd class="command">sed -i -e '/gets is a/d' lib/stdio.in.h</kbd>
80 <pre class="userinput">
81 <kbd class="command">./configure --prefix=/usr</kbd>
86 <pre class="userinput">
87 <kbd class="command">make</kbd>
90 コンパイル結果をテストするためには、まず修正を行ってからテストプログラムを実行します。
92 <pre class="userinput">
94 "command">sed -i -e '41s/ENOENT/& || errno == EINVAL/' tests/test-readlink.h
100 <pre class="userinput">
101 <kbd class="command">make install</kbd>
104 <div class="content" lang="ja" xml:lang="ja">
106 <a id="contents-m4" name="contents-m4"></a>6.28.2. M4 の構成
108 <div class="segmentedlist">
109 <div class="seglistitem">
111 <strong class="segtitle">インストールプログラム:</strong> <span class=
116 <div class="variablelist">
121 <col align="left" valign="top" />
126 <a id="m4" name="m4"></a><span class="term"><span class=
127 "command"><strong>m4</strong></span></span>
132 指定されたファイル内のマクロ定義を展開して、そのコピーを生成します。 マクロ定義には埋め込み (built-in)
133 マクロとユーザー定義マクロがあり、いくらでも引数を定義することができます。 マクロ定義の展開だけでなく
134 <span class="command"><strong>m4</strong></span>
135 には以下のような埋め込み関数があります。 指定ファイルの読み込み、Unix
136 コマンド実行、整数演算処理、テキスト操作、再帰処理などです。 <span class=
137 "command"><strong>m4</strong></span>
138 プログラムはコンパイラーのフロントエンドとして利用することができ、それ自体でマクロプロセッサーとして用いることもできます。
147 <div class="navfooter">
150 <a accesskey="p" href="iana-etc.html" title=
151 "Iana-Etc-2.30">前のページ</a>
157 <a accesskey="n" href="bison.html" title="Bison-2.6.2">次のページ</a>
163 <a accesskey="u" href="chapter06.html" title=
164 "第6章 基本的なソフトウェアのインストール">上に戻る</a>
167 <a accesskey="h" href="../index.html" title=
168 "Linux From Scratch - Version 7.2">ホーム</a>