diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-31 14:34:23 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-31 14:34:23 +0000 |
| commit | c6187b8931a672389007d0d06938c38b5173a3cf (patch) | |
| tree | 80d5323ade71d5e7864fca796ecab64fa59b02a3 | |
| parent | 1103f6043630bfe9a408fb8d935e894443f35c92 (diff) | |
| download | ruby-c6187b8931a672389007d0d06938c38b5173a3cf.tar.gz ruby-c6187b8931a672389007d0d06938c38b5173a3cf.tar.xz ruby-c6187b8931a672389007d0d06938c38b5173a3cf.zip | |
* README, README.ja: Add a note about default C flags.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | README | 4 | ||||
| -rw-r--r-- | README.ja | 4 |
3 files changed, 12 insertions, 0 deletions
@@ -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 23:02:00 2008 Tanaka Akira <akr@fsij.org> * gc.c (count_objects): clear given hash. @@ -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 @@ -88,6 +88,10 @@ Ruby拡張モジュールについて話し合うruby-extメーリングリストと 2. configureを実行してMakefileなどを生成する + 環境によってはデフォルトのCコンパイラ用オプションが付き + ます.configureオプションで optflags=.. warnflags=.. 等 + で上書きできます. + 3. (必要ならば)defines.hを編集する 多分,必要無いと思います. |
