Issue #7101 has been updated by knu (Akinori MUSHA). --with-opt-dirを付けてもOS X (10.8)だと展開されませんでした。 問題のある当該マシンはFreeBSD 9.1なんですが、何が違うんだろう。もう少し調べます。 ---------------------------------------- Bug #7101: 拡張ライブラリの質問 https://bugs.ruby-lang.org/issues/7101#change-36316 Author: ko1 (Koichi Sasada) Status: Open Priority: Normal Assignee: ko1 (Koichi Sasada) Category: build Target version: 2.0.0 ruby -v: trunk ささだです. trunk では,拡張ライブラリをビルドするとき,下記のようなオプションがつ きます. gcc -I. (snip) -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -ansi -std=iso9899:199409 (snip) -ansi -std=iso9899:199409 のあたりで,inline や // でのコメントアウト を利用している拡張ライブラリがビルド出来ない感じです. (inline については,ruby.h を include していれば適切に入れ替えられるん ですが,ruby.h を include していない *.c をビルドする可能性もあり,そこ でこけてる感じです) これは,仕様でしょうか.ぎゃっという人は多そうなので,拡張ライブラリの CC のオプションは,以前に外した方が良さそうに思いますが. # 目の前でマンガを読んでいる須藤さんから # 何とかしろと言われたのでご相談した次第です. -- // SASADA Koichi at atdot dot net
on 2013-02-15 12:22
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.