最速Rubyリファレンスマニュアル検索!
すべて(11)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
1件ヒット
[1-1件を表示]
(0.061秒)
トップページ
>
:
arg
>
:
2.5.0
>
:
mkmf
>
:
arg_config
>
:ライブラリ
別のキーワード
_builtin arg
etc sc_arg_max
mkmf arg_config
kernel arg_config
rake arg_names
検索結果
先頭1件
mkmf
mkmf
(114076.0)
2.5.0
ライブラリ
Ruby の拡張ライブラリのための Makefile を作成するライブラリです。
...
す。
このための extconf.rb は以下のように書きます。
require 'mkmf'
dir_config('bar')
if have_header('bar.h') and have_
library
('bar', 'baz')
create_makefile('foo')
end
拡張ライブラリ foo.so を作成、インストールするには以下のようにします
...
CFLAGS
CONFIG
LDFLAGS
archdir
arg_config
cc_command
check_signedness
check_sizeof
convertible_int
cpp_command
create_header
create_makefile
create_tmpsrc
defs
depend_rules
dir_config
dummy_makefile
egrep_cpp
enable_config
find_executable
...