home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / gcc / help / 1756 < prev    next >
Encoding:
Text File  |  1992-07-22  |  2.7 KB  |  68 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!iWarp.intel.com|ichips!tmcconne
  3. From: tmcconne@sedona.intel.com (Tom McConnell)
  4. Subject: Re: Building gcc/g++ on our RS/6000...
  5. Message-ID: <1992Jul22.144023.19130@ichips.intel.com>
  6. Originator: tmcconne@sedona
  7. Sender: tmcconne@sedona (Tom McConnell)
  8. Reply-To: tmcconne@sedona.intel.com
  9. Organization: Intel Corporation
  10. References:  <9207220019.AA42289@st6000.sct.edu>
  11. Distribution: gnu
  12. Date: Wed, 22 Jul 1992 14:40:23 GMT
  13. Lines: 53
  14.  
  15.  
  16. In article <9207220019.AA42289@st6000.sct.edu>, install2@st6000.sct.edu (Ron Skopitz) writes:
  17. > To those who might help...
  18. >     We are having difficulties compiling gcc-2.2.2 on our RS/6000 running
  19. > version 3.2 of AIX.  We have gotten past the previous problems involving the
  20. > faulty assembler.
  21.  
  22.   Just to be sure, you did this change in ./gcc-2.2.2/config/rs6000.h (After
  23. installing APAR IX22829):
  24. ===========================================================================
  25. /* Tell the assembler to assume that all undefined names are external.  Don't
  26.    do this until the fixed IBM assembler is more generally available.  */
  27.  
  28. #define ASM_SPEC "-u"
  29. ===========================================================================
  30.  
  31.   To make collect2 work on the RS/6000, you need to add the following to
  32. ./gcc-2.2.2/config/xm-rs6000.h (I con't remember if this is the default):
  33. ===========================================================================
  34. /* This is the only version of nm that collect2 can work with.  */
  35. #define REAL_NM_FILE_NAME "/usr/ucb/nm"
  36. =========================================================================== 
  37.  
  38. >  However, the compile now has an error trying to compile
  39. > "bison.simple" and the make breaks fully at "cp-lex.c".  Since the lexical
  40. > analyzer is no minor part of the compiler, this is a fairly serious problem.
  41. > There is a suggested fix in the "cp-lex.c" file, but this did not work.  If
  42. > anyone can give us some insight, we would be highly appreciative.  A full
  43. > make history is available for anyone who might be interested in seeing the
  44. > actual error.
  45. >                 Thanks!
  46. >                    Ron Skopitz
  47. >                    rskopitz@st6000.sct.edu
  48. >                    (for individual replies to this question)
  49. >                    Southern College of Technology
  50.  
  51.   Could you mail (or post) the section of the make that fails? I have had no
  52. problems with gcc-2.2.2 on AIX 3.1.6 or AIX 3.2. Is it breaking because you
  53. don't have bison? You need bison installed on your system (I have version 1.18,
  54. but bison-1.14 works also).
  55.  
  56.     Cheers,
  57.  
  58.     Tom McConnell
  59. -- 
  60.  Tom McConnell          |     Internet: tmcconne@sedona.intel.com
  61.  Intel, Corp. C3-21     |     Phone: (602)-554-8229
  62.  5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
  63.  Chandler, AZ  85226    | their right mind would claim them.
  64.