SUMMARY: building gcc-2.7.0 on DEC Unix 3.2c

From: Alex Garthwaite <alex_at_samwise.cis.upenn.edu>
Date: Sat, 26 Aug 1995 20:16:03 -0400 (EDT)

I received messages from a number of people experiencing the
same problem as well as two offering solutions. Jason Yanowitz
(yanowitz_at_eternity.cs.umass.edu) pointed out that in most cases
DEC's cc produces better code. Since I also need g++, I was
still stuck. The answer came from Dan Riley <dsr_at_lns598.lns.cornell.edu>
who wrote the note below. This patch allowed me to build gcc
although I did have to start from a clean distribution. Thanks Dan.
Here is Dan's note:

> mips-tfile, /tmp/ccaaouEa.s:0 index 4294967295 is out of bounds for lstrs, max is 0, mips-tfile.c line# 4643

Apparently in 3.2c 'as' stopped emitting some debugging records when
debugging is not selected. The patch below should fix it. Please let
me know if it works or not--I haven't had a chance to try it on the
release 3.2c, and I'd like some confirmation that it works before
distributing it more widely.

--
Dan Riley                          Internet:  dsr_at_lns598.lns.cornell.edu
Wilson Lab, Cornell University     HEPNET/SPAN: lns598::dsr (44630::dsr)
	      "Distance means nothing/To me." -Kate Bush
*** config/alpha/alpha.h~	Thu Jun 15 09:08:45 1995
--- config/alpha/alpha.h	Fri Jun 23 13:09:21 1995
***************
*** 43,49 ****
  #define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"
  
  /* No point in running CPP on our assembler output.  */
! #define ASM_SPEC "-nocpp %{pg}"
  
  /* Under OSF/1, -p and -pg require -lprof1.  */
  
--- 43,49 ----
  #define SIGNED_CHAR_SPEC "%{funsigned-char:-D__CHAR_UNSIGNED__}"
  
  /* No point in running CPP on our assembler output.  */
! #define ASM_SPEC "-g3 -nocpp %{pg}"
  
  /* Under OSF/1, -p and -pg require -lprof1.  */
  
-- 
Alex Garthwaite                                  Internet: alex_at_cis.upenn.edu
Systems Programmer                           Computer and Information Science
University of Pennsylvania                                     (215) 898-5617
Received on Sun Aug 27 1995 - 02:37:55 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT