home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / gcc / help / 2053 < prev    next >
Encoding:
Text File  |  1992-09-03  |  2.0 KB  |  48 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!stanford.edu!ames!decwrl!csus.edu!netcom.com!netcomsv!resonex!michael
  3. From: michael@resonex.com (Michael Bryan)
  4. Subject: Re: How to compile/install libg++2.2.2
  5. Message-ID: <1992Sep3.065852.6586@resonex.com>
  6. Organization: Resonex Inc., Sunnyvale CA
  7. References: <1992Aug31.192328.19979@cc.umontreal.ca> <1992Sep2.175950.23879@puffin.uucp> <1992Sep2.220951.28777@resonex.com>
  8. Distribution: na
  9. Date: Thu, 3 Sep 1992 06:58:52 GMT
  10. Lines: 36
  11.  
  12. [Regarding difficulties compiling and installing libg++ 2.2]
  13.  
  14. Well, I finished the installation last night.  I *think* it worked
  15. ok;  at least, a couple of simple C++ programs compile and run
  16. properly, using the iostream library.  Here's what I had to do
  17. to get everything to work, on an HP 9000/380 running HP-UX 8.0:
  18.  
  19. 1)  configure m68k-hp-hpux    [same configure target I used for gcc 2.2.2]
  20.  
  21. 2)  <Edit libg++/utils/gen-params to correct the previously posted error,
  22.      changing "${macro_prefix} ${DOLLAR_IN_LABEL}" to
  23.      "${macro_prefix}DOLLAR_IN_LABEL".>
  24.  
  25. 3)  make CC=gcc
  26.  
  27. 4)  <Edit libg++/Makefile to contain "INSTALL=${INSTALL}" in several
  28.      key places, especially under the "install:" target.  This was
  29.      necessary, because the shipped Makefile does not properly pass
  30.      on the value of INSTALL, and I needed to change it.>
  31.  
  32. 5)  make install CC=gcc INSTALL=cp
  33.  
  34. (The syntax of "install" on HP-UX is not at all what the Makefiles expect,
  35. and so I had to change to a regular copy.  I don't know how many other
  36. O/S's are affected by this one, or if HP has just arbitrarily decided to
  37. have different syntax.  My guess is that it's a System 5 vs. BSD thing,
  38. but I don't know for sure.)
  39.  
  40. After that, everything seemed to work ok!  I'll be doing more rigorous
  41. tests later...
  42.  
  43. -- 
  44. Michael Bryan        michael@resonex.com                     |     ,_,
  45. Milk and Cheese in '92!!!                                    |    /oo \
  46. "What the world needs now are some true words of wisdom,     |    <>__|
  47. like 'La-la-la-la-la-la-la-la-la-la'."  -- Cracker           |    |  U|
  48.