tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: building gcc and libg++ on DU 4.0
@ 1996-08-08 22:27 Jay Shen
  0 siblings, 0 replies; 2+ messages in thread
From: Jay Shen @ 1996-08-08 22:27 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to:
  mooney@dogbert.cc.ndsu.NoDak.edu
  sysadmin@homer.bus.miami.edu

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@homer.bus.miami.edu

This should allow both gcc and libg++ to be compiled.

Jay

^ permalink raw reply	[flat|nested] 2+ messages in thread
* SUMMARY: building gcc and libg++ on DU 4.0
@ 1996-09-23  1:33 Eli Burke
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Burke @ 1996-09-23  1:33 UTC (permalink / raw)
  To: tru64-unix-managers


 	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@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/ 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-09-23  1:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-08 22:27 SUMMARY: building gcc and libg++ on DU 4.0 Jay Shen
  -- strict thread matches above, loose matches on Subject: below --
1996-09-23  1:33 Eli Burke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox