toolchain's output depends on toolchain used to build the compiler?
Orna Agmon Ben-Yehuda
ladypine at gmail.com
Tue Feb 9 11:03:44 IST 2010
2010/2/9 Shachar Shemesh <shachar at shemesh.biz>
> ronys wrote:
>
> Hi Shachar,
>
> Interesting problem. Here are some thoughts:
>
> Can you control the level of optimization used by the customer? Does -O0
> create identical object code?
>
> Havn't tested yet, but my gut feeling is "yes".
>
> 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)
>
> The question is why should identical source code produce different paths
> when compiled with the same compiler?
>
If the absolute path is included (I think -g does that). The mount point in
the two environments may be called differently.
>
>
> You might also want to compare the assembly-language output (-S) to narrow
> down the problem.
>
> -d is better, as it does not overlay the source. If you read what I wrote -
> that was what I was doing.
>
>
> 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.
>
> At this point in time, it will have to remain a dual environment.
>
>
> Shachar
>
> --
> Shachar Shemesh
> Lingnu Open Source Consulting Ltd.http://www.lingnu.com
>
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
--
Orna Agmon Ben-Yehuda.
http://ladypine.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20100209/fbe242b7/attachment.html>
More information about the Linux-il
mailing list