home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / gnu / gcc / help / 2341 < prev    next >
Encoding:
Text File  |  1992-10-16  |  1.7 KB  |  49 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!uunet.ca!ross
  3. From: ross@uunet.ca (Ross Ridge)
  4. Subject: Compiling GCC on HP-PA and MIPS
  5. Organization: UUNET Canada
  6. Date: Sat, 17 Oct 1992 02:42:28 GMT
  7. Message-ID: <1992Oct17.024228.14574@uunet.ca>
  8. Lines: 39
  9.  
  10. [ Disclaimer:  This has nothing to do with UUNET Canada ]
  11.  
  12. I couldn't get GCC 2.2.2 to compile on either on a HP 9000/817
  13. or a MIPS box (RC3350?).  On both I used the system supplied
  14. linker and assembler rather than gas and the GNU binutil's.
  15. The HP died with an assembler error when compiling gnulib2.c
  16. for the function "__fixunsdfsi".  The rather cryptic error
  17. message was:
  18.  
  19.     as: /usr/tmp/cca03281.s @line#30 [err#1060]
  20.       Argument 1 or 3 in FARG upper
  21.          - lookahead = RTNVAL=gr
  22.  
  23. line number 30 was:
  24.  
  25.     .EXPORT __fixunsdfsi,PRIV_LEV=3,ARGW0=FR,ARGW1=FU,RTNVAL=GR
  26.  
  27. uname -a output for this machine is:
  28.  
  29.     HP-UX hp A.08.02 E 9000/817 764013161
  30.  
  31. The problems I had with the MIPS box, running RISCos, made me
  32. think that this platform isn't supported.  I couldn't get it
  33. to work with shared libraries because of the linker complaining
  34. about an API incompatbility, when linking GCC compiled code.
  35. I changed the LINK_SPEC to use static linking (-non_shared) instead,
  36. and everything compiled and linked fine.  However, the GCC compiled
  37. cpp bombed with an a illegal instruction apparently after having
  38. branched off into the middle of nowhere.  I also had a problem
  39. with linker not accepting "-G 0" but only "-G0".  "uname -a" output
  40. for this machine is:
  41.  
  42.     RISCos arc 5.0 RISCos mips mips
  43.  
  44. I'm sorry I can't give more details, but I was doing this on a friend's
  45. work's machines on the weekend so I don't have access to them now.  
  46.  
  47.                         Ross Ridge
  48.  
  49.