home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / g / help / 1633 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.0 KB

  1. Path: sparky!uunet!paladin.american.edu!gatech!usenet.ins.cwru.edu!cleveland.Freenet.Edu!br762
  2. From: br762@cleveland.Freenet.Edu (Tim Werner)
  3. Newsgroups: gnu.g++,gnu.g++.help
  4. Subject: Re: Installing gcc 2.3.3 and libg++ 2.3
  5. Date: 6 Jan 1993 12:00:21 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 41
  8. Message-ID: <1iehklINNkij@usenet.INS.CWRU.Edu>
  9. References: <1hr7u5INNqs7@tamsun.tamu.edu>
  10. Reply-To: br762@cleveland.Freenet.Edu (Tim Werner)
  11. NNTP-Posting-Host: hela.ins.cwru.edu
  12.  
  13.  
  14. In a previous article, louqun@cs.tamu.edu (Qun Lou) says:
  15.  
  16. >I finally installed gcc 2.3.3 and libg++ 2.3 successfully 
  17. >The problems I mentioned in my previous email disappeared.
  18. >
  19. >I wish to share the experience with other people who
  20. >would be installing gcc or libg++ on HP or other computers.
  21. >
  22. >1. Before installing gcc 2.3.3, I deleted all the previous gcc stuff in 
  23. >/usr/local/lib/gcc-lib and in /usr/local/bin.
  24. >
  25. >2. Necessary files for successful installation:
  26. >
  27. >bison  in /usr/local/bin
  28. >gas    as emphasized in gcc 2.3.3 README, gas should be installed *before*
  29. >       installing gcc as '/usr/local/lib/gcc-lib/hp835-hpux/2.3.3/as'
  30.  
  31. I am trying to build libg++ on a sun3 running SunOS, and getting the following:
  32. rootme=`pwd`/ ; export rootme; CC="cc "; export CC; CXX="gcc  "; export CXX; CON
  33. FIG_NM="nm"; export CONFIG_NM; ./utils/gen-params LIB_VERSION=2.3  >tmp-params.h
  34. nm: dummy.o: cannot open
  35. nm: dummy.o: cannot open
  36. nm failed to find FUNC in dummy.o!
  37. ./utils/gen-params: -1: bad number
  38. make[1]: *** [_G_config.h] Error 1
  39. make: *** [all-libg++] Error 1
  40.  
  41. I am trying to build these libs in a non-standard path. Although I set 'prefix'
  42. to the path for gcc (also non-standard), make isn't finding it, as you can see
  43. from the above (CC="cc "; export CC; CXX="gcc  ").
  44.  
  45. Has anyone else had and solved this problem? Is bison and gas really the key?
  46.  
  47. Everything has to be built in a non-standard path. I can't get the sys-admin
  48. to help with installation until everything is working.
  49.  
  50. thanks
  51. tim
  52. werner@sparcserver.mc.ab.com
  53. -- 
  54.