Question about enable-debug option?

Hi Quincey,

    Thanks for your explanation.

tony.

在2009-08-26,koziol发给您的邮件内容如下

···

------------------------------------------------------------------------------

From: "Quincey Koziol"
To: hdf-forum@hdfgroup.org
Date: 2009-08-26 22:53:51
Subject:
Hi Tony,

On Aug 26, 2009, at 4:55 AM, 4 wrote:

hello all,

     For compile option "--enable-debug", its help informtion in
configure is "
  " --enable-debug=all Turn on debugging in all packages. One
may also
                          specify a comma-separated list of package
names
                          without the leading H5 or the word no. The
default
                          is most packages if production is
disabled; no if it
                          is enabled. "
     I really cannot understand the above comments, and I searched
in google, get nothing usefull information about it.
I just used "--disable-debug" and "--disable-trace" , I think this
will decrease the exe size and increase speed.

     Can anyone explain the "--enable-debug" mean? Or are there any
disadvantages when disable it.
     Thanks for any reply.

  The debug configure option does two things: it turns on the compilers
debugging flag ("-g" usually) and it enables some extra internal
consistency checking in the HDF5 library. Generally speaking,
disabling it will make the executable size smaller and increase speed
(a little), yes.

  Quincey

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
<A href="http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org" target=_new>http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org</A>
</PRE></BLOCKQUOTE><BR>

A post was merged into an existing topic: Question about enable-debug option?