tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  Complete installation of GCC-2.7.2.2 & libg++ on 4.0B
@ 1997-06-10 16:26 Randy Dees
  0 siblings, 0 replies; only message in thread
From: Randy Dees @ 1997-06-10 16:26 UTC (permalink / raw)
  To: tru64-unix-managers


Note - I started from a brand new installation of 4.0B.

1.  Unpack GCC-2.7.2.2 into $GCC_SRC
2.  Edit $GCC_SRC/cp/errfn.c
	comment out line 198 - 
	/* extern int sprintf; */
3.  cd $GCC_SRC ; ./configure ; make 
4.  make bootstrap LANGUAGES=all BOOT_CFLAGS="-g -O2"
5.  Edit $GCC_SRC/cp/errfn.c and remove comments from line 198 
	This hack is necessary because install uses cc not the 
	already-built gcc.  I tried working aroung it but this seems 
	to be the simplest solution.
6.  Edit $GCC_SRC/Makefile and remark out all lines with MAKEINFO
	Note - this step may be removed by installing GNU Makeinfo from
	the textinfo distribution.  It may also be replaced by using 
	make -k install in the next step, according to 
 Steve VanDevender <stevev@hexadecimal.uoregon.edu>.  I have not tested 
	this - I already had it installed by the time I recieved his
	response.
7. make install

libg++

1.  Unpack libg++-2.7.2.2 into $G++_SRC
2.  ensure gcc is in your path _important_
3.  get ftp://ftp.bus.miami.edu/alpha-osf/g++/rx.h and use to replace
	$G++_SRC/librx/rx.h
4.  make ; make install

This worked for me.  

Thanks to all of the following for their kind help:

	Liz Stewart
	Yizhong Zhou 
	Mike McLain
	Robert L.  McMillin
	Brian Harvey 
	Larry Griffith 
	Steve VanDevender
	Delafontaine, Andre


--
 Randy Dees			| SCA:  Talorgen ni Wrguist	       
 ASI Systems Administration	|    a bard, formerly known as Myrddyn 
 Pr 14:12 There is a way which seemeth right unto a man, but the end 
			thereof are the ways of death

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-06-10 16:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-10 16:26 SUMMARY: Complete installation of GCC-2.7.2.2 & libg++ on 4.0B Randy Dees

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