[gnu.gcc.bug] gcc stage2 comparison on Sun386i

jim@eda.com (Jim Budler) (02/23/89)

System: Sun386i	SunOS4.0.1

gcc-1.3x


Problem:
          make CC=stage2/gcc CFLAGS="-g -O -Bstage2/"
          foreach file (*.o)
>>>       cmp $file stage2/$file
          end

The compare will always fail due to the time stamp which is a part
of the COFF header.

Solution:
          make CC=stage2/gcc CFLAGS="-g -O -Bstage2/"
          foreach file (*.o)
          cmp $file stage2/$file 7 7
          end

The additional two arguments to cmp provided with SunOS 4.0.1 are
the number of bytes to skip at the beginning of the compare, so this
command compares the *.o files AFTER the timestamp.

jim
-- 
Jim Budler   address = uucp: ...!{decwrl,uunet}!eda!jim
					 domain: jim@eda.com
			 voice	 = +1 408 986-9585
			 fax	 = +1 408 748-1032