Article View: gnu.gcc.bug
Article #2348gcc stage2 comparison on Sun386i (COFF)
From: Jim Budler
Date: Wed, 22 Feb 1989 19:56
Date: Wed, 22 Feb 1989 19:56
31 lines
1168 bytes
1168 bytes
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
Technical Details
Message-ID:
<487@eda.com>Path:
arc1-ca.pugleaf.net!utzoo!telly!attcan!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!eda!jimShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!eda!jim From: jim@eda.com (Jim Budler) Newsgroups: gnu.gcc.bug Subject: gcc stage2 comparison on Sun386i (COFF) Message-ID: <487@eda.com> Date: 22 Feb 89 19:56:03 GMT Reply-To: jim@eda.com (Jim Budler) Distribution: gnu Organization: EDA Systems,Inc. Santa Clara, CA Lines: 31