Documentation Home
>
Sun Studio 12: C ユーザーズガイド
>
付録 B C コンパイラオプションリファレンス
>
B.2 cc オプション
> B.2.143 -xstrconst
Sun Studio 12: C ユーザーズガイド
Previous
: B.2.142 -xspace
Next
: B.2.144 -xtarget=t
B.2.143
-xstrconst
デフォルトのデータセグメントではなくテキストセグメントの読み出し専用データセクションに、文字列リテラルを挿入します。重複する文字列は削除され、それ以外の部分はコード中の参照間で共有されます。
Previous
: B.2.142 -xspace
Next
: B.2.144 -xtarget=t
© 2010, Oracle Corporation and/or its affiliates