Max Bian <[EMAIL PROTECTED]> writes: > I was testing a code beautifier (indent) on one of my C code. After I > generated a "beautified" C code, I compiled it with m68k-palmos-gcc with "-c" > switch. I compared the two .o files from the old and new code with GNU diff > 2.7. They are different. Surprising? Maybe not.
I think that the coff format stores a date inside the object file. A better approach may be to disassemble the code and diff that: m68k-palmos-objdump --disassemble file.o > file.1.asm beautify file.c make file.o m68k-palmos-objdump --disassemble file.o > file.2.asm diff -u file.1.asm file.2.asm -- Dave Carrigan ([EMAIL PROTECTED]) | Yow! I want another RE-WRITE on UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | my CAESAR SALAD!! Seattle, WA, USA | http://www.rudedog.org/ | -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
