[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[linux-users:90061] Re: groff のSegmentation Fault について


加藤です。

Fumiaki Kobayashi <fumiakik _at_ jaist.ac.jp>さんは
<20011214164354T.fumiakik _at_ jaist.ac.jp>で書きました

> ishioka> ええと make のときに cc(gcc) に -g をつけてコンパイルしたり,
> ishioka> リンクしたりして下さい.
> これについては、今からやってみます。
> 
> # ちなみに、上記のリンクは、
> # ライブラリ関数の Static リンクを意味しますか?

man gcc

(snip)
       -g     Produce debugging information in the operating sys-
              tem's native format (stabs, COFF, XCOFF, or DWARF).
              GDB can work with this debugging information.

              On most systems that use stabs format, `-g' enables
              use of extra debugging information  that  only  GDB
              can  use;  this  extra  information makes debugging
              work better in GDB but will probably make other de-
              buggers  crash  or  refuse to read the program.  If
              you want to control for certain whether to generate
              the  extra  information, use `-gstabs+', `-gstabs',
              `-gxcoff+',  `-gxcoff',  `-gdwarf+',  or  `-gdwarf'
              (see below).

---
加藤 丈明
富士通(株) IAサーバ事業部 第一技術部
TEL: 044-754-8332 内線: 7112-4775
FAX: 044-754-8358 内線: 7112-0753
e-mail:katot _at_ csd2.cs.fujitsu.co.jp

この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: