🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.lib.bug
Article #322

Re: PATCHES to compile libg++ 2.2 on HP9k700 (g++ 2.3.1)

#322
From: Bart Muyzer
Date: Thu, 12 Nov 1992 03:20
108 lines
4279 bytes
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). 
Technical Details
Message-ID: <1992Nov11.115538.15123@cv.ruu.nl>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ai-lab!prep.ai.mit.edu!gnulists
References: <1992Nov10.131600.5344@cv.ruu.nl>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!ai-lab!prep.ai.mit.edu!gnulists
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
Lines: 110
Sender: tower@ai.mit.edu
Approved: info-gnu@prep.ai.mit.edu
Distribution: world
Message-ID: <1992Nov11.115538.15123@cv.ruu.nl>
References: <1992Nov10.131600.5344@cv.ruu.nl>
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