<div dir="ltr"><br><br><div class="gmail_quote">2010/2/9 Shachar Shemesh <span dir="ltr"><<a href="mailto:shachar@shemesh.biz">shachar@shemesh.biz</a>></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> </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> </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><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"><br>
<blockquote type="cite">
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span>You might also want to compare the
assembly-language output (-S) to narrow down the problem.</span></font></div>
</blockquote></div>
-d is better, as it does not overlay the source. If you read what I
wrote - that was what I was doing.<div class="im"><br>
<blockquote type="cite">
<div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span>If the customer needs cygwin for internal
use, I'd suggest using a virtualization solution such as VirtualBox
instead - the integration with Windows is quite impressive.</span></font></div>
</blockquote></div>
At this point in time, it will have to remain a dual environment.<div class="im"><br>
<br>
Shachar<br>
<pre cols="72">--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
<a href="http://www.lingnu.com" target="_blank">http://www.lingnu.com</a>
</pre>
</div></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Orna Agmon Ben-Yehuda.<br><a href="http://ladypine.org">http://ladypine.org</a><br>
</div>