種類
- インスタンスメソッド (847)
- 変数 (121)
- 定数 (11)
モジュール
- Kernel (979)
キーワード
-
$ CFLAGS (11) -
$ LDFLAGS (11) -
$ archdir (11) -
$ defs (11) -
$ hdrdir (11) -
$ libdir (11) -
$ libs (11) -
$ sitearchdir (11) -
$ sitelibdir (11) -
$ srcdir (11) -
$ topdir (11) - CONFIG (11)
-
arg
_ config (11) -
cc
_ command (11) -
check
_ signedness (22) -
check
_ sizeof (22) -
cpp
_ command (11) -
create
_ header (11) -
create
_ makefile (11) -
create
_ tmpsrc (11) -
depend
_ rules (11) -
dir
_ config (11) -
dummy
_ makefile (11) -
egrep
_ cpp (22) -
enable
_ config (22) -
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) -
find
_ type (22) -
have
_ devel? (11) -
have
_ framework (22) -
have
_ func (22) -
have
_ header (22) -
have
_ library (22) -
have
_ macro (22) -
have
_ struct _ member (22) -
have
_ type (22) -
have
_ var (22) -
install
_ files (11) -
install
_ rb (11) - libpathflag (11)
-
link
_ command (11) -
log
_ src (11) -
merge
_ libs (11) - modified? (11)
-
rm
_ f (11) -
rm
_ rf (11) -
try
_ compile (22) -
try
_ constant (22) -
try
_ cpp (22) -
try
_ do (22) -
try
_ func (22) -
try
_ link (22) -
try
_ run (22) -
try
_ static _ assert (22) -
try
_ type (22) -
try
_ var (22) -
with
_ config (22) -
with
_ werror (22) - xpopen (22)
- xsystem (11)
検索結果
先頭5件
-
Kernel
# dir _ config(target , idefault = nil , ldefault = nil) -> [String , String] (270.0) -
configure オプション --with-TARGET-dir, --with-TARGET-include, --with-TARGET-lib をユーザが extconf.rb に指定できるようにします。
...configure オプション
--with-TARGET-dir,
--with-TARGET-include,
--with-TARGET-lib
をユーザが extconf.rb に指定できるようにします。
--with-TARGET-dir オプションは
システム標準ではない、
ヘッダファイルやライブラリがあるディレクトリをま......て指定するために使います。
ユーザが extconf.rb に --with-TARGET-dir=PATH を指定したときは
$CFLAGS に "-IPATH/include" を、
$LDFLAGS に "-LPATH/lib" を、
それぞれ追加します。
--with-TARGET-include オプションは
システム標準ではないヘッダフ......。
@param ldefault システム標準ではないライブラリのディレクトリのデフォルト値を指定します。
例
require 'mkmf'
# xml2 の configure オプションを指定できるようにします。
xml2_dirs = dir_config('xml2', '/opt/local/include/libxml2', '/opt/l... -
Kernel
# libpathflag(libpath = $ DEFLIBPATH| $ LIBPATH) -> String (118.0) -
与えられた libpath を -L 付きの文字列に変換して返します。
...与えられた libpath を -L 付きの文字列に変換して返します。
@param libpath LIBPATH に指定する値を指定します。... -
Kernel
$ $ CFLAGS -> String (108.0) -
拡張ライブラリをコンパイルするときの C コンパイラのオプションや、 ヘッダファイルのディレクトリを指定する文字列です。
...拡張ライブラリをコンパイルするときの C コンパイラのオプションや、
ヘッダファイルのディレクトリを指定する文字列です。
Kernel#dir_config の検査が成功すると、
この変数の値に " -Idir" が追加されます。... -
Kernel
$ $ libs -> String (108.0) -
拡張ライブラリをリンクするときに 一緒にリンクされるライブラリを指定する文字列です。
...リをリンクするときに
一緒にリンクされるライブラリを指定する文字列です。
この変数の値は、例えば
"-lfoo -lbar"
のような形式の文字列です。
Kernel#have_library または Kernel#find_library
を呼び出すと、その検査結果が
間に... -
Kernel
# arg _ config(config , default) { . . . } -> object | String | true | nil (102.0) -
configure オプション --config の値を返します。
...configure オプション --config の値を返します。
@param config オプションを文字列で指定します。
@param default 引数 config で指定したオプションのデフォルト値を指定します。
@return オプションが指定されてた場合は true を、指定......ンに引数が指定されていた場合は指定した文字列を返します。
例えば extconf.rb で arg_config メソッドを使う場合、
$ ruby extconf.rb --foo --bar=baz
と実行したとき、arg_config("--foo") の値は true、
arg_config("--bar") の値は "baz" です。... -
Kernel
# cc _ command(opt = "") -> String (102.0) -
実際にコンパイルする際に使用するコマンドを返します。
実際にコンパイルする際に使用するコマンドを返します。
@param opt コンパイラに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand -
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (102.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
...ned, or negative integer if the +type+ is signed.
For example, if size_t is defined as unsigned, then
check_signedness('size_t') would returned +1 and the
SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is
done.... -
Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil (102.0) -
Returns the signedness of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. If the +type+ is found and is a numeric type, a macro is passed as a preprocessor constant to the compiler using the +type+ name, in uppercase, prepended with 'SIGNEDNESS_OF_', followed by the +type+ name, followed by '=X' where 'X' is positive integer if the +type+ is unsigned, or negative integer if the +type+ is signed. For example, if size_t is defined as unsigned, then check_signedness('size_t') would returned +1 and the SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is done.
...ned, or negative integer if the +type+ is signed.
For example, if size_t is defined as unsigned, then
check_signedness('size_t') would returned +1 and the
SIGNEDNESS_OF_SIZE_T=+1 preprocessor macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is
done.... -
Kernel
# check _ sizeof(type , headers = nil) -> Integer | nil (102.0) -
与えられた型のサイズを返します。
...ムに存在する場合は、グローバル変数 $defs に
"-DSIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_M... -
Kernel
# check _ sizeof(type , headers = nil) { . . . } -> Integer | nil (102.0) -
与えられた型のサイズを返します。
...ムに存在する場合は、グローバル変数 $defs に
"-DSIZEOF_type=X" を追加し、型のサイズを返します。型 type がシステムに
存在しない場合は、nil を返します。
例えば、
require 'mkmf'
check_sizeof('mystruct') # => 12
である場合、SIZEOF_M...