[Mono-list] Mono Tools and Utilities

Michal Moskal malekith@pld-linux.org
Mon, 13 Oct 2003 09:31:32 +0200


On Mon, Oct 13, 2003 at 09:12:25AM +0200, Jaroslaw Kowalski wrote:
> As for C/C++ I'm not sure if the C compiler would be so kind to produce
> exactly
> the same  object file when you change/remove the comment? How about some
> embedded dates or debug information?

Don't know about other compilers, but GCC don't put any timestamp
information in generated objects precisely for the reason of retaining
MD5 sum (or entire file contents for that matter) intact. This is used
during compiler bootstrap, to check if stage1 and stage2 compilers
produce the same output.

Debug info can be problem though.

-- 
: Michal Moskal :: http://www.kernel.pl/~malekith : GCS {C,UL}++++$ a? !tv
: When in doubt, use brute force. -- Ken Thompson : {E-,w}-- {b++,e}>+++ h