From: bartm@cv.ruu.nl (Bart Muyzer)
Newsgroups: gnu.g++.lib.bug,gnu.g++.help,comp.sys.hp
Subject: Re: PATCHES to compile libg++ 2.2 on HP9k700 (g++ 2.3.1)
Followup-To: gnu.g++.lib.bug,gnu.g++.help,comp.sys.hp
Date: 11 Nov 1992 22:20:56 -0500
Organization: University of Utrecht, 3D Computer Vision Research Group
Distribution: world
NNTP-Posting-Host: life.ai.mit.edu
Keywords: libg++, g++, hp9000 s700
Originator: bartm@mind.cv.ruu.nl
Apparently-To: gnu-g++-lib-bug@nluug.nl

In <1992Nov10.131600.5344@cv.ruu.nl> bartm@cv.ruu.nl (Bart Muyzer) writes:

>Hello all,
>
>Below are all patches I found necessary to compile libg++ 2.2 on the HP 9000
>series 700 platform using gcc 2.3.1. I've put them in a shar archive. 

Here's a new patch to libg++/Makefile.in which allows automatic installation
of the library. Please forget about the prevous patch for this file. All other
patches from hp9k700-patches remain valid.

After applying this patch, I was able to install with:
	make CC=gcc CFLAGS='-Wl,-a,archive -L/usr/local/lib' install

Please direct any suggestions, additions, fixes and problems to
"bartm@cv.ruu.nl".

Have fun,

						>] Bartm [<
--
Bart Muyzer, Systems and Network Administrator, [NIC-Whois handle: BJM9]
     3D Computer Vision, Room E02.222, University Hospital Utrecht,
     Heidelberglaan 100, 3584 CX Utrecht, Holland. E-mail: bartm@cv.ruu.nl
     Fax: +31-30-513399. Tel: +31-30-506711 (w), +31-3402-52157 (h). 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*** libg++-2.2/libg++/Makefile.in	Fri Jun 26 21:35:09 1992
--- libg++-2.2-hp9k700/libg++/Makefile.in	Wed Nov 11 10:26:15 1992
***************
*** 45,51 ****
  
  SHELL = /bin/sh
  
! INSTALL = install -c
  INSTALL_PROGRAM = $(INSTALL)
  INSTALL_DATA = $(INSTALL)
  
--- 45,51 ----
  
  SHELL = /bin/sh
  
! INSTALL = cp
  INSTALL_PROGRAM = $(INSTALL)
  INSTALL_DATA = $(INSTALL)
  
***************
*** 122,128 ****
  	then echo $${rootme}/../gcc/gcc\\ -B$${rootme}/../gcc/ ; \
  	else echo ${GXX} ; fi`
  
! CFLAGS = -g
  XTRAFLAGS = `if [ -f $${rootme}/../gcc/gcc ] ; \
  	then echo -I$${rootme}/../gcc/include ; \
  	else echo ; fi`
--- 122,128 ----
  	then echo $${rootme}/../gcc/gcc\\ -B$${rootme}/../gcc/ ; \
  	else echo ${GXX} ; fi`
  
! CFLAGS =
  XTRAFLAGS = `if [ -f $${rootme}/../gcc/gcc ] ; \
  	then echo -I$${rootme}/../gcc/include ; \
  	else echo ; fi`
***************
*** 149,154 ****
--- 149,155 ----
  	"RANLIB=$(RANLIB)" \
  	"LOADLIBES=$(LOADLIBES)" \
  	"LDFLAGS=$(LDFLAGS)" \
+ 	"INSTALL=$(INSTALL)" \
  	"MAKEINFO=$(MAKEINFO)" \
  	"XTRAFLAGS=$(XTRAFLAGS)"
  
***************
*** 289,302 ****
  		$(INSTALL_DATA) $$FILE $(gxx_includedir)/$$FILE || exit 1; \
  	    done; \
  	fi
! 	cd $(IO_DIR) ; $(MAKE) install-include-files
  	@for D in genclass $(UTILS) ; do \
  		if [ -d $$D ] ; then \
! 			(cd $$D; $(MAKE) "CC=$(CC)" install) ; \
  		fi ; \
  	done
  	cd test-install; $(MAKE) $(TEST_INSTALL) \
! 	    CC=$(bindir)/gcc COMPILE_FLAGS="" LIBS=-lg++
  
  ###**######################################################################
  #
--- 290,303 ----
  		$(INSTALL_DATA) $$FILE $(gxx_includedir)/$$FILE || exit 1; \
  	    done; \
  	fi
! 	cd $(IO_DIR) ; $(MAKE) install-include-files "INSTALL=$(INSTALL)"
  	@for D in genclass $(UTILS) ; do \
  		if [ -d $$D ] ; then \
! 			(cd $$D; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS)" install "INSTALL=$(INSTALL)") ; \
  		fi ; \
  	done
  	cd test-install; $(MAKE) $(TEST_INSTALL) \
! 	    CC=$(bindir)/gcc "CFLAGS=$(CFLAGS)" COMPILE_FLAGS="" LIBS=-lg++
  
  ###**######################################################################
  #
-- 
Bart Muyzer, Systems and Network Administrator, [NIC-Whois handle: BJM9]
     3D Computer Vision, Room E02.222, University Hospital Utrecht,
     Heidelberglaan 100, 3584 CX Utrecht, Holland. E-mail: bartm@cv.ruu.nl
     Fax: +31-30-513399. Tel: +31-30-506711 (w), +31-3402-52157 (h).