SUMMARY: building gcc and libg++ on DU 4.0

From: Eli Burke <eburke_at_cslab.vt.edu>
Date: Sun, 22 Sep 1996 21:33:01 -0400 (EDT)

         Just a quick followup. gcc 2.7.2.1 now builds with only one problem
under DU 4.0 -- comment out line 198 in gcc-2.7.2.1/cp/errfn.c
/* extern errorfn sprintf; */
 
         There are also a few problems in the below summary on libg++
The ftp site listed no longer contains the fixed file, and the correct
file to tweak is "Regex.cc" not "Regx.cc" and the line to comment out is
<ctype.h> and not <stype.h>

> After upgrade to DU 4.0, I am a hard time rebuilding GNU C++ 2.7.2 and GNU
> libg++ 2.7.2. Here is a summary of how to build it. Most of these are
> actually summaried here to before. But they were either scattered across
> different messages or under subject that was not very easily searched.
>
> To build gcc:
> In file $GCC_SOURCE/config/alpha/alpha.c
> Comment out the following lines in alpha_write_verstamp()
> /* for (p = version_string; *p != ' ' && *p != 0; p++)
> fprintf (file, "%c", *p == '.' ? ' ' : *p);*/
> In file $GCC_SOURCE/cp/errfn.c
> Comment out the following line in cp_sprintf()
> /* extern int sprintf; */
>
> To build libg++:
> In file $LIBG++_SOURCE/libg++/src/Regx.cc
> Comment out the following line:
> /* include <stype.h> */
> or replace the file $LIBG++_SOURCE/librx/rx.h with one on
> ftp://ftp.bus.miami.edu/alpha-os/g++
> It is kindly provide by sysadmin_at_homer.bus.miami.edu
>
> This should allow both gcc and libg++ to be compiled.

-- 
Eli Burke
eburke_at_vt.edu 
http://csugrad.cs.vt.edu/~eburke/ 
Received on Mon Sep 23 1996 - 08:40:00 NZST

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