From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,32ce0d8cf7b33495 X-Google-Attributes: gidfee84,public From: jamey@crl.dec.com (James Hicks) Subject: Re: gcc 2.7.2 and DU 4.0 Date: 1996/07/26 Message-ID: #1/1 X-Deja-AN: 170264295 distribution: world references: <4sj7m4$4uv@reznor.larc.nasa.gov> content-type: text/plain; charset=US-ASCII organization: Digital Equipment Corporation, Cambridge Research Laboratory mime-version: 1.0 (generated by tm-edit 7.74) reply-to: jamey@crl.dec.com newsgroups: comp.unix.osf.osf1 I encountered this problem. In gcc-2.7.2/cp/errfn.c, I changed: void cp_sprintf (format, arglist) char *format; arglist_dcl { extern errorfn sprintf; cp_thing (sprintf, 0, format, arglist); } to void cp_sprintf (format, arglist) char *format; arglist_dcl { cp_thing ((errorfn*)sprintf, 0, format, arglist); } There is one other change I made for Digital Unix 4.0, because the assembler no longer accepts the five number version directive. In gcc-2.7.2/config/alpha/alpha.c, I modified alpha_write_verstamp void alpha_write_verstamp (file) FILE *file; { #ifdef MS_STAMP char *p; fprintf (file, "\t.verstamp %d %d ", MS_STAMP, LS_STAMP); #if 0 /* not on Digital Unix 4.0 - Jamey Hicks 7/3/96 */ for (p = version_string; *p != ' ' && *p != 0; p++) fprintf (file, "%c", *p == '.' ? ' ' : *p); #endif fprintf (file, "\n"); #endif } -Jamey Hicks