<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
Orna Agmon Ben-Yehuda wrote:
<blockquote
 cite="mid:7e248aab1002090103t307f6ef3i5eddb6eab2ff183e@mail.gmail.com"
 type="cite">
  <div dir="ltr"><br>
  <br>
  <div class="gmail_quote">2010/2/9 Shachar Shemesh <span dir="ltr">&lt;<a
 moz-do-not-send="true" href="mailto:shachar@shemesh.biz">shachar@shemesh.biz</a>&gt;</span><br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div dir="ltr" bgcolor="#ffffff" text="#000000">
    <div class="im">ronys wrote:
    <blockquote type="cite">
      <div><font color="#0000ff" face="Arial" size="2"><span>Hi Shachar,</span></font></div>
      <div><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
      <div><font color="#0000ff" face="Arial" size="2"><span>Interesting
problem. Here are some thoughts:</span></font></div>
      <div><font color="#0000ff" face="Arial" size="2"><span></span></font>&nbsp;</div>
      <div><font color="#0000ff" face="Arial" size="2"><span>Can you
control the level of optimization
used by the customer? Does -O0 create identical object code?</span></font></div>
      <div><font color="#0000ff" face="Arial" size="2"><span></span></font>
      <br>
      </div>
    </blockquote>
    </div>
Havn't tested yet, but my gut feeling is "yes".
    <div class="im"><br>
    <blockquote type="cite">
      <div><font color="#0000ff" face="Arial" size="2"><span>What are
the differences in code? Perhaps
they're related to the different paths? (If the lengths of the paths
are different, and they're stored somewhere in the object code, that'll
change the results)</span></font></div>
    </blockquote>
    </div>
The question is why should identical source code produce different
paths when compiled with the same compiler?</div>
  </blockquote>
  <div><br>
If the absolute path is included (I think -g does that). The mount
point in the two environments may be called differently.<br>
  </div>
  </div>
  </div>
</blockquote>
That's why I'm using objdump -d, which does not print the source files,
and is path location agnostic. In essence, I'm comparing just the
actual assembly produced.<br>
<br>
Shachar<br>
<pre class="moz-signature" cols="72">-- 
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a class="moz-txt-link-freetext" href="http://www.lingnu.com">http://www.lingnu.com</a>
</pre>
</body>
</html>