<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Dave,<br>
    <br>
    Don't we want DEBUG=yes to turn off optimization (as it was before)?
    You could still have OPTIMIZE over-ride this "DEBUG-only" default,
    but I thought that optimization caused problems with source code
    debugging. In other words, debug symbols with optimization is an
    unusual combination.<br>
    <br>
      -- Mark<br>
    <br>
    <br>
    On 02/24/2011 08:45 AM, David Lawrence wrote:
    <blockquote cite="mid:4D666104.9070202@jlab.org" type="cite">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <br>
      Hi All,<br>
      <br>
          I just committed a change to BMS that decouples the debugging
      symbols, profiling, and optimization. One can now explicitly set
      the optimization using OPTIMIZE=X where X is the optimization
      level. It still defaults to 2. In order to turn on profiling, one
      now needs to add PROFILE=yes to the make command. Adding DEBUG=yes
      will now only turn on debugging symbols whereas previously, it
      also turned on profiling and turned off optimization.<br>
      <br>
          If either DEBUG=yes or PROFILE=yes (or both) is specified, the
      output binaries will have a "_d" appended to their name as it has
      always been.<br>
      <br>
      Regards,<br>
      -Dave<br>
      <br>
      -------- Original Message --------
      <table class="moz-email-headers-table" border="0" cellpadding="0"
        cellspacing="0">
        <tbody>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject:
            </th>
            <td>r7480 - trunk/sim-recon/src/BMS</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
            <td>Thu, 24 Feb 2011 08:41:34 -0500</td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
            <td><a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:Hall-D.SVN.Repository@jlab.org">Hall-D.SVN.Repository@jlab.org</a></td>
          </tr>
          <tr>
            <th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
            <td><a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:davidl@jlab.org">davidl@jlab.org</a>, <a
                moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:brash@pcs.cnu.edu">brash@pcs.cnu.edu</a>, <a
                moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:wolin@jlab.org">wolin@jlab.org</a>, <a
                moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:zisis@uregina.ca">zisis@uregina.ca</a>, <a
                moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:mashephe@indiana.edu">mashephe@indiana.edu</a>,
              <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:remitche@indiana.edu">remitche@indiana.edu</a>,
              <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:zihlmann@jlab.org">zihlmann@jlab.org</a>, <a
                moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:somov@jlab.org">somov@jlab.org</a>, <a
                moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:staylor@jlab.org">staylor@jlab.org</a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      <pre>Author: davidl
Date: 2011-02-24 08:41:34 -0500 (Thu, 24 Feb 2011)
New Revision: 7480

Modified:
   trunk/sim-recon/src/BMS/Makefile.common
Log:
Add PROFILE and OPTIMIZE flags to BMS to decouple the use of debugging symbols, profiling, and optimization.
</pre>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Halld-offline mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Halld-offline@jlab.org">Halld-offline@jlab.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/halld-offline">https://mailman.jlab.org/mailman/listinfo/halld-offline</a></pre>
    </blockquote>
    <br>
  </body>
</html>