From: jamey@crl.dec.com (James Hicks)
Subject: Re: gcc 2.7.2 and DU 4.0
Date: 1996/07/26 [thread overview]
Message-ID: <JAMEY.96Jul26083738@reef.crl.dec.com> (raw)
In-Reply-To: 4sj7m4$4uv@reznor.larc.nasa.gov
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
prev parent reply other threads:[~1996-07-26 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-17 4:00 gcc 2.7.2 and DU 4.0 Richard Eckman
1996-07-18 4:00 ` Rob Hooft
1996-07-26 4:00 ` James Hicks [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox