home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / g / help / 1220 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.6 KB

  1. Xref: sparky gnu.g++.help:1220 comp.lang.c++:13543
  2. Newsgroups: gnu.g++.help,comp.lang.c++
  3. Path: sparky!uunet!cis.ohio-state.edu!ll.mit.edu!cogen
  4. From: cogen@ll.mit.edu (David Cogen)
  5. Subject: Can't install g++
  6. Message-ID: <9209111458.AA06928@LL.MIT.EDU>
  7. Sender: daemon@cis.ohio-state.edu
  8. Organization: Gatewayed from the GNU Project mailing list help-g++@prep.ai.mit.edu
  9. Date: Fri, 11 Sep 1992 10:58:30 GMT
  10. Lines: 44
  11.  
  12. I can't install g++ following the instructions of the README file.
  13.  
  14. Scenario: g++-1.41.0, gcc-1.41, Sparc 2, SunOS 4.1.1
  15.  
  16. My directory structure is as follows:
  17.  
  18. -/gnu
  19. -/gnu/gcc -> gcc-1.41
  20. -/gnu/gcc-1.41
  21. -/g++ (contains links to files in g++-1.41.0)
  22. -/g++-1.41.0
  23. -/gcc-test (empty)
  24.  
  25. I compiled gcc in gcc-1.41, it works fine. And I installed the binaries in
  26. /usr/local/bin and /usr/local/lib with make install.
  27.  
  28. Now I cd to g++ and follow the recommendations of g++/README. 
  29.  
  30. (step 0-2) followed as recommended. 
  31.  
  32. (step 3) I believe no modifications to Makefile are required.
  33.  
  34. (step 4) Apparently succeeds, with several "Error code (ignored)" messages.
  35.  
  36. (step 5) Apparently succeeds.
  37.  
  38. "make": fails immediately. ../gcc-test directory is empty. Here is the output
  39. history: 
  40.  
  41. hancock% make
  42. ../gcc-test/gcc -g -DGATHER_STATISTICS -DNO_DYNAMIC_LIBS -O -B../gcc-test/ -I. -I. -I./config -g -o ccrt0.o -DOLD_FORMAT -c ccrt0.c
  43. sh: ../gcc-test/gcc: not found
  44. *** Error code 1
  45. make: Fatal error: Command failed for target `ccrt0.o'
  46.  
  47.  
  48.  
  49. What is the gcc-test directory? How does it get filled? Or should it be a link
  50. to the gcc directory? The README file says nothing about this. Please advise on
  51. what to do.
  52.  
  53. Thanks,
  54.  
  55. David Cogen.
  56.