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

  1. Path: sparky!uunet!think.com!ames!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!cc971
  2. From: cc971@cleveland.Freenet.Edu (Stephen  C. Fitch)
  3. Newsgroups: gnu.g++,gnu.g++.help
  4. Subject: Re: Installing gcc 2.3.3 and libg++ 2.3
  5. Date: 6 Jan 1993 14:32:13 GMT
  6. Organization: Case Western Reserve University, Cleveland, OH (USA)
  7. Lines: 72
  8. Message-ID: <1ieqhdINNqd8@usenet.INS.CWRU.Edu>
  9. References: <1iehklINNkij@usenet.INS.CWRU.Edu> <1hr7u5INNqs7@tamsun.tamu.edu>
  10. Reply-To: cc971@cleveland.Freenet.Edu (Stephen  C. Fitch)
  11. NNTP-Posting-Host: hela.ins.cwru.edu
  12.  
  13.  
  14. In a previous article, br762@cleveland.Freenet.Edu (Tim Werner) says:
  15.  
  16. >
  17. >In a previous article, louqun@cs.tamu.edu (Qun Lou) says:
  18. >
  19. >>I finally installed gcc 2.3.3 and libg++ 2.3 successfully 
  20. >>The problems I mentioned in my previous email disappeared.
  21. >>
  22. >>I wish to share the experience with other people who
  23. >>would be installing gcc or libg++ on HP or other computers.
  24. >>
  25. >>1. Before installing gcc 2.3.3, I deleted all the previous gcc stuff in 
  26. >>/usr/local/lib/gcc-lib and in /usr/local/bin.
  27. >>
  28. >>2. Necessary files for successful installation:
  29. >>
  30. >>bison  in /usr/local/bin
  31. >>gas    as emphasized in gcc 2.3.3 README, gas should be installed *before*
  32. >>       installing gcc as '/usr/local/lib/gcc-lib/hp835-hpux/2.3.3/as'
  33. >
  34. >I am trying to build libg++ on a sun3 running SunOS, and getting the following:
  35. >rootme=`pwd`/ ; export rootme; CC="cc "; export CC; CXX="gcc  "; export CXX; CON
  36. >FIG_NM="nm"; export CONFIG_NM; ./utils/gen-params LIB_VERSION=2.3  >tmp-params.h
  37. >nm: dummy.o: cannot open
  38. >nm: dummy.o: cannot open
  39. >nm failed to find FUNC in dummy.o!
  40. >./utils/gen-params: -1: bad number
  41. >make[1]: *** [_G_config.h] Error 1
  42. >make: *** [all-libg++] Error 1
  43. >
  44. >I am trying to build these libs in a non-standard path. Although I set 'prefix'
  45. >to the path for gcc (also non-standard), make isn't finding it, as you can see
  46. >from the above (CC="cc "; export CC; CXX="gcc  ").
  47. >
  48. >Has anyone else had and solved this problem? Is bison and gas really the key?
  49. >
  50. >Everything has to be built in a non-standard path. I can't get the sys-admin
  51. >to help with installation until everything is working.
  52. >
  53. >thanks
  54. >tim
  55. >werner@sparcserver.mc.ab.com
  56. >-- 
  57. >
  58.  
  59. I'm also experiencing the same problems under SunOS 4.1.3 on a SparcStation 1.
  60. I have to maintain my original GCC 1.37 environment so I wish to build/test/
  61. and release ( to a a select few at the start) GCC 2.3.2 and libg++2.3. I have
  62. attempted to build under:
  63.  
  64. /usr/local/tmp
  65.  
  66. I have:
  67.  
  68. bin                     bison-1.19              lib                     
  69. binutils-2.0            gcc-2.3.2               libg++-2.3
  70. binutils-2.0.tar.Z      include                 libg++-2.3.tar.Z
  71. binutils-2.0_OU         info                    man
  72.  
  73.  
  74. After having run configure sun4 -prefix=/usr/local/tmp and make I see
  75. error messages as reported by the other poster.
  76.  
  77. Do I need Gas, nm, ld and the binutils ? What sort of directory
  78. structure should I use to compile libg++2.3. How can I get the
  79. libg++2.3 gen use my new GCC 2.3.2 compiler ( to be found below 
  80. /usr/local/tmp/bin ). Lots of questions, not a lot of answers...
  81.  
  82. If anyone reports a fix to this problem, let me know, thanks.
  83.  
  84. Steve.
  85.