モジュール
- Kernel (627)
キーワード
-
arg
_ config (11) -
cc
_ command (11) -
check
_ signedness (22) -
check
_ sizeof (22) -
convertible
_ int (22) -
cpp
_ command (11) -
create
_ header (11) -
depend
_ rules (11) -
dir
_ config (11) -
dummy
_ makefile (11) -
enable
_ config (22) -
find
_ executable (11) -
find
_ header (11) -
find
_ library (22) -
find
_ type (22) -
have
_ devel? (11) -
have
_ func (22) -
have
_ header (22) -
have
_ library (22) -
have
_ macro (22) -
have
_ struct _ member (22) -
have
_ type (22) -
have
_ var (22) -
install
_ rb (11) - libpathflag (11)
-
link
_ command (11) - modified? (11)
-
try
_ constant (22) -
try
_ do (22) -
try
_ func (22) -
try
_ static _ assert (22) -
try
_ type (22) -
try
_ var (22) -
with
_ config (22) - xpopen (22)
- xsystem (11)
検索結果
先頭5件
- Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil - Kernel
# check _ signedness(type , headers = nil , opts = nil) { . . . } -> "signed" | "unsigned" | nil - Kernel
# depend _ rules(depend) -> Array - Kernel
# cc _ command(opt = "") -> String - Kernel
# cpp _ command(outfile , opt = "") -> String
-
Kernel
# check _ signedness(type , headers = nil , opts = nil) -> "signed" | "unsigned" | nil (21503.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.
...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_O......F_', 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 preprocesso......r 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 (21503.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.
...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_O......F_', 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 preprocesso......r macro would be passed to the
compiler, and SIGNEDNESS_OF_INT=-1 if check_signedness('int') is
done.... -
Kernel
# depend _ rules(depend) -> Array (12403.0) -
ファイルの依存関係の書かれた depend ファイルの内容を処理します。
...ファイルの依存関係の書かれた depend ファイルの内容を処理します。
@param depend depend ファイルの内容を指定します。
@return 見つかった依存関係を Makefile 形式で返します。... -
Kernel
# cc _ command(opt = "") -> String (12203.0) -
実際にコンパイルする際に使用するコマンドを返します。
...実際にコンパイルする際に使用するコマンドを返します。
@param opt コンパイラに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand... -
Kernel
# cpp _ command(outfile , opt = "") -> String (12203.0) -
実際にプリプロセッサを実行する際に使用するコマンドを返します。
...実際にプリプロセッサを実行する際に使用するコマンドを返します。
@param outfile 出力ファイルの名前を指定します。
@param opt プリプロセッサに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand... -
Kernel
# dir _ config(target , idefault = nil , ldefault = nil) -> [String , String] (12203.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 オプションは
システム標準ではないヘッダ......ユーザが extconf.rb に --with-TARGET-include=PATH を指定したときは
$CFLAGS に PATH を追加します。
--with-TARGET-lib オプションは
システム標準ではないライブラリのディレクトリを指定するために使います。
ユーザが extconf.rb に --with-TA... -
Kernel
# find _ executable(bin , path = nil) -> String | nil (12203.0) -
パス path から実行ファイル bin を探します。
...実行ファイル bin を探します。
実行ファイルが見つかった場合は、そのフルパスを返します。
実行ファイルが見つからなかった場合は、nilを返します。
このメソッドは Makefile を変更しません。
@param bin 実行ファイルの名......前を指定します。
@param path パスを指定します。デフォルトは環境変数 PATH です。
環境変数 PATH が定義されていない場合は /usr/local/bin,
/usr/ucb, /usr/bin, /bin を使います。... -
Kernel
# find _ header(header , *paths) -> bool (12203.0) -
与えられた paths から header を検索し、見つかった場合は真を返します。 そうでない場合は偽を返します。
...header を検索し、見つかった場合は真を返します。
そうでない場合は偽を返します。
ヘッダが見つかったディレクトリをコンパイラに渡すコマンドラインオプショ
ンに追加します(-I オプションを経由します)。
@param header... -
Kernel
# find _ library(lib , func , *paths) -> bool (12203.0) -
関数 func が定義されたライブラリ lib を探します。
...関数 func が定義されたライブラリ lib を探します。
最初はパスを指定せずに探し、
それに失敗したら paths[0] を指定して探し、
それにも失敗したら paths[1] を指定して探し……
というように、リンク可能なライブラリを探......、
見つかったパスを $LDFLAGS に追加して true を返します。
指定されたすべてのパスを検査してもライブラリ lib が見つからないときは、
変数を変更せず false を返します。
paths を指定しないときは Kernel#have_library と同じ動作......です。
@param lib ライブラリ名を指定します。
@param func 関数名を指定します。
nil または空文字列を指定した場合は "main" になります。
@param paths ライブラリを検索するパスを文字列の配列で指定します。... -
Kernel
# find _ library(lib , func , *paths) { . . . } -> bool (12203.0) -
関数 func が定義されたライブラリ lib を探します。
...関数 func が定義されたライブラリ lib を探します。
最初はパスを指定せずに探し、
それに失敗したら paths[0] を指定して探し、
それにも失敗したら paths[1] を指定して探し……
というように、リンク可能なライブラリを探......、
見つかったパスを $LDFLAGS に追加して true を返します。
指定されたすべてのパスを検査してもライブラリ lib が見つからないときは、
変数を変更せず false を返します。
paths を指定しないときは Kernel#have_library と同じ動作......です。
@param lib ライブラリ名を指定します。
@param func 関数名を指定します。
nil または空文字列を指定した場合は "main" になります。
@param paths ライブラリを検索するパスを文字列の配列で指定します。...