🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #359

Re: How to compile/install libg++2.2.2

#359
From: Michael Bryan
Date: Thu, 03 Sep 1992 06:58
36 lines
2106 bytes
[Regarding difficulties compiling and installing libg++ 2.2]

Well, I finished the installation last night.  I *think* it worked
ok;  at least, a couple of simple C++ programs compile and run
properly, using the iostream library.  Here's what I had to do
to get everything to work, on an HP 9000/380 running HP-UX 8.0:

1)  configure m68k-hp-hpux    [same configure target I used for gcc 2.2.2]

2)  <Edit libg++/utils/gen-params to correct the previously posted error,
     changing "${macro_prefix} ${DOLLAR_IN_LABEL}" to
     "${macro_prefix}DOLLAR_IN_LABEL".>

3)  make CC=gcc

4)  <Edit libg++/Makefile to contain "INSTALL=${INSTALL}" in several
     key places, especially under the "install:" target.  This was
     necessary, because the shipped Makefile does not properly pass
     on the value of INSTALL, and I needed to change it.>

5)  make install CC=gcc INSTALL=cp

(The syntax of "install" on HP-UX is not at all what the Makefiles expect,
and so I had to change to a regular copy.  I don't know how many other
O/S's are affected by this one, or if HP has just arbitrarily decided to
have different syntax.  My guess is that it's a System 5 vs. BSD thing,
but I don't know for sure.)

After that, everything seemed to work ok!  I'll be doing more rigorous
tests later...

-- 
Michael Bryan        michael@resonex.com                     |     ,_,
Milk and Cheese in '92!!!                                    |    /oo \
"What the world needs now are some true words of wisdom,     |    <>__|
like 'La-la-la-la-la-la-la-la-la-la'."  -- Cracker           |    |  U|
Technical Details
Message-ID: <1992Sep3.065852.6586@resonex.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!decwrl!csus.edu!netcom.com!netcomsv!resonex!michael
References: <1992Aug31.192328.19979@cc.umontreal.ca> <1992Sep2.175950.23879@puffin.uucp> <1992Sep2.220951.28777@resonex.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!decwrl!csus.edu!netcom.com!netcomsv!resonex!michael
From: michael@resonex.com (Michael Bryan)
Subject: Re: How to compile/install libg++2.2.2
Message-ID: <1992Sep3.065852.6586@resonex.com>
Organization: Resonex Inc., Sunnyvale CA
References: <1992Aug31.192328.19979@cc.umontreal.ca> <1992Sep2.175950.23879@puffin.uucp> <1992Sep2.220951.28777@resonex.com>
Distribution: na
Date: Thu, 3 Sep 1992 06:58:52 GMT
Lines: 36