From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076339121624.tru64-unix-managers.marc@archive.invalid> From: Eli Burke Date: Mon, 23 Sep 1996 01:33:01 +0000 To: tru64-unix-managers Subject: SUMMARY: building gcc and libg++ on DU 4.0 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076339121624 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 and not > 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 */ > 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@homer.bus.miami.edu > > This should allow both gcc and libg++ to be compiled. -- Eli Burke eburke@vt.edu http://csugrad.cs.vt.edu/~eburke/