Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* compiling gcc-2.6.3 on OSF/1 v2.1A:  make compare doesn't work
@ 1995-03-06  1:51 L.G. "Ted" Stern
  0 siblings, 0 replies; 2+ messages in thread
From: L.G. "Ted" Stern @ 1995-03-06  1:51 UTC (permalink / raw)


First of all, is there a binarly distribution of gcc/g++ for alpha's?

If not, then can someone help me through the following problem?  I'm getting
some inconsistencies when I compare my stage 2 and stage 3 compilations of gcc:

I am working on DEC alpha's running OSF/1 v2.1.  In trying to build gcc
v2.6.3, I went through the usual steps:

	./configure --prefix=/src1/gnu --exec-prefix=/src1/gnu/alpha --with-stabs

	make LANGUAGES=c

	make stage1

	make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O" LANGUAGES="c c++ proto"

	make stage2

	make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O" LANGUAGES="c c++ proto"

	make compare

In that last step, I got the following results:

for file in *.o; do  tail +16c ./$file > tmp-foo1;  tail +16c stage2/$file > tmp-foo2 2>/dev/null  && (cmp tmp-foo1 tmp-foo2 || echo $file differs);  done
cmp: EOF on tmp-foo2
cccp.o differs
cmp: EOF on tmp-foo2
combine.o differs
cmp: EOF on tmp-foo2
expr.o differs
for dir in tmp-foo cp; do  if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then  for file in $dir/*.o; do  tail +16c ./$file > tmp-foo1;  tail +16c stage2/$file > tmp-foo2 2>/dev/null  && (cmp tmp-foo1 tmp-foo2 || echo $file differs);  done;  fi;  done
cmp: EOF on tmp-foo2
cp/decl.o differs
cmp: EOF on tmp-foo2
cp/typeck.o differs
rm -f tmp-foo*


At this point, I really don't know what to do!  The installation guide says
that I probably have a problem, but not what to do about it.  By the way, I
have somewhat limited disk space, so using the -save-temps CFLAG isn't
terribly useful here.

Any suggestions?  Email preferred.

--
	-- Ted
 ============================================================================
 Ted Stern (206) 685-9304                        Dept. of Applied Math, FS-20
 stern@amath.washington.edu                      University of Washington
 http://www.amath.washington.edu/~stern/         Seattle, WA  98195
 ============================================================================
--
	-- Ted
 ============================================================================
 Ted Stern (206) 685-9304                        Dept. of Applied Math, FS-20
 stern@amath.washington.edu                      University of Washington
 http://www.amath.washington.edu/~stern/         Seattle, WA  98195
 ============================================================================


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: compiling gcc-2.6.3 on OSF/1 v2.1A: make compare doesn't work
       [not found] <9503061719.AA17651@kangaroo.MIT.EDU>
@ 1995-03-06 17:23 ` Ted Stern
  0 siblings, 0 replies; 2+ messages in thread
From: Ted Stern @ 1995-03-06 17:23 UTC (permalink / raw)
  To: epeisach

On Mon, 6 Mar 1995 epeisach@MIT.EDU wrote:

> If you look in the INSTALL file, you will see that you need to compile
> the stage2 and stage3 compilers with "-save-temps" to ensure that the
> filenames are kept the same. (otherwise, they have things like
> /tmp/.....).
> 
> Note: After doing the "make stage2" you need to "rm *.i *.s *~"
> otherwise the make compare will fail again when you build with the
> stage2 compiler.

Don't you mean _before_ "make stage2"?  Or does it make any difference?

> 
> Otherwise, it worked fine for me....
> 
> 	Ezra
> 

In my post, I mentioned that I am tight on disk space.  I was planning on 
doing the compile again with just the C compiler for stage2 and stage3, 
but all those .i and .s files take up a huge amount of room!  Also, it 
seemed strange to me that the compare failed on just a few files.

	-- Ted
 ============================================================================
 Ted Stern (206) 685-9304                        Dept. of Applied Math, FS-20
 stern@amath.washington.edu                      University of Washington
 http://www.amath.washington.edu/~stern/         Seattle, WA  98195
 ============================================================================



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-03-06 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-06  1:51 compiling gcc-2.6.3 on OSF/1 v2.1A: make compare doesn't work L.G. "Ted" Stern
     [not found] <9503061719.AA17651@kangaroo.MIT.EDU>
1995-03-06 17:23 ` Ted Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox