summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 14:40:44 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-31 14:40:44 +0000
commit3de10825dfc228170bd5f406031042bcbd0255ba (patch)
treeb7378b5fcf086db8c007ce6bb531055bcc11dd3b
parentc4ae288b907acd4fe25673d969a15fefa73a635f (diff)
* README, README.ja: Add a note about default C flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--NEWS6
-rw-r--r--README4
-rw-r--r--README.ja4
4 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0329c75ff8..e1f087c5d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat May 31 23:33:34 2008 Akinori MUSHA <knu@iDaemons.org>
+
+ * README, README.ja: Add a note about default C flags.
+
Sat May 31 22:11:15 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* version.c (ruby_description, ruby_copyright): backported from
diff --git a/NEWS b/NEWS
index aa581f1746..36c78d1c45 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,12 @@ with all sufficient information, see the ChangeLog file.
=== Configuration changes
+* default C flags
+
+ Some C compiler flags may be added by default depending on your
+ environment. Specify optflags=.. and warnflags=.. as necessary to
+ override them.
+
* vendor_ruby directory
A new library directory named `vendor_ruby' is introduced in
diff --git a/README b/README
index df0d6e701d..1b79781367 100644
--- a/README
+++ b/README
@@ -70,6 +70,10 @@ This is what you need to do to compile and install Ruby:
2. Run ./configure, which will generate config.h and Makefile.
+ Some C compiler flags may be added by default depending on your
+ environment. Specify optflags=.. and warnflags=.. as necessary
+ to override them.
+
3. Edit defines.h if you need. Usually this step will not be needed.
4. Remove comment mark(#) before the module names from ext/Setup (or
diff --git a/README.ja b/README.ja
index 6a89d2a763..71ce4ee12c 100644
--- a/README.ja
+++ b/README.ja
@@ -92,6 +92,10 @@ Ruby拡張モジュールについて話し合うruby-extメーリングリストと
2. configureを実行してMakefileなどを生成する
+ 環境によってはデフォルトのCコンパイラ用オプションが付き
+ ます.configureオプションで optflags=.. warnflags=.. 等
+ で上書きできます.
+
3. (必要ならば)defines.hを編集する
多分,必要無いと思います.