ham@Neon.Stanford.EDU (Peter R. Ham) (01/11/90)
I'm not sure, but I think that this subject was mentioned here earlier. Comparing mips coff files requires more than just ignoring their timestamps since the name of the temporary assembly code file that the object file was produced file is also included in the file. Is there a convenient way to strip this out to make comparisons? Do other people that bootstrap gcc on mips and decstation machines just skip the object file compare step? -- Peter Ham PO Box 3430 (h)(415) 322-4390 MS Computer Science Student Stanford, CA ham@cs.stanford.edu Stanford University 94309 (o)(415) 723-2067
grunwald@foobar.colorado.edu (Dirk Grunwald) (01/11/90)
I use the following script, called ecoff-cmp #!/bin/sh # # ecoff-cmp file1.o file2.o # #cp $1 /tmp/foo1.$$ cp $2 /tmp/foo2.$$ strip /tmp/foo1.$$ strip /tmp/foo2.$$ tail +10 /tmp/foo1.$$ > /tmp/foo3.$$ tail +10 /tmp/foo2.$$ > /tmp/foo4.$$ cmp /tmp/foo3.$$ /tmp/foo4.$$ rm -f /tmp/foo[1234].$$