From 2b9f74d578ffbccb0935eae98101b2f127cb21ad Mon Sep 17 00:00:00 2001 From: knu Date: Sat, 31 May 2008 14:34:23 +0000 Subject: [PATCH] * README, README.ja: Add a note about default C flags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ README | 4 ++++ README.ja | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 646b4c55b1..853c5863dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat May 31 23:33:34 2008 Akinori MUSHA + + * README, README.ja: Add a note about default C flags. + Sat May 31 23:02:00 2008 Tanaka Akira * gc.c (count_objects): clear given hash. diff --git a/README b/README index 938c846e3f..b898003937 100644 --- a/README +++ b/README @@ -65,6 +65,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 ee1e0d4951..16dbd9368d 100644 --- a/README.ja +++ b/README.ja @@ -88,6 +88,10 @@ Ruby 2. configureを実行してMakefileなどを生成する + 環境によってはデフォルトのCコンパイラ用オプションが付き + ます.configureオプションで optflags=.. warnflags=.. 等 + で上書きできます. + 3. (必要ならば)defines.hを編集する 多分,必要無いと思います.