home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / 15423 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  2.2 KB

  1. Xref: sparky comp.windows.x:15423 comp.unix.ultrix:6338 gnu.gcc.help:1950
  2. Path: sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!cs.utexas.edu!singhal
  3. From: singhal@cs.utexas.edu (Vivek P. Singhal)
  4. Newsgroups: comp.windows.x,comp.unix.ultrix,gnu.gcc.help
  5. Subject: Re: Problems - R5 build on DS 5000/25 using gcc-2.2.2
  6. Message-ID: <SINGHAL.92Aug19160000@twins.cs.utexas.edu>
  7. Date: 19 Aug 92 21:00:00 GMT
  8. References: <1992Aug19.152652.11529@ennews.eas.asu.edu> <1992Aug19.193616.2419@PA.dec.com>
  9. Organization: Univ. of Texas at Austin, CS Dept.
  10. Lines: 41
  11. NNTP-Posting-Host: twins.cs.utexas.edu
  12. In-reply-to: heiney@wsl.dec.com's message of Wed, 19 Aug 92 19:36:16 GMT
  13.  
  14. >>>>> In article <1992Aug19.193616.2419@PA.dec.com>, heiney@wsl.dec.com (Bob Heiney) writes:
  15.  
  16. In article <1992Aug19.152652.11529@ennews.eas.asu.edu>
  17.  scowen@wfpc3.NoSubdomain.NoDomain (Paul A. Scowen) writes:
  18.  
  19. >Anyway, the build goes ok until the mfb part of the server/ddx tree is reached
  20. >when a whole series of errors like this happen:
  21. >
  22. >as0: Error: mfbfillsp.c, line 771: undefined assembler operation: extzv
  23. >    extzv $2,$8,0($9),$5
  24.  
  25. BH> "Extzv" is a VAX instruction.  This is caused by the following text that's
  26. BH> in ultrix.cf:
  27.  
  28. BH> #if HasGcc
  29. BH> #define CcCmd gcc -ansi -Dvax -Dultrix -fpcc-struct-return
  30. BH> #define ServerCCOptions /* */
  31. BH> #define AllocateLocalDefines /* */
  32. BH> #endif
  33.  
  34. BH> which defines "vax".  This causes bad vax-specific assembly code to be
  35. BH> defined for macros like "getbits" and "putbits" in maskbits.h.
  36.  
  37. BH> Removing "-Dvax" should do the trick, although I haven't tried building the
  38. BH> server with Gcc myself.
  39.  
  40. You might try replacing "-Dvax" with "-Dmips".  As I recall when I
  41. tried it last, simply removing "-Dvax" caused something else to blow
  42. up (e.g. you'll find mips-specific code in mit/server/include/servermd.h).
  43.  
  44. Actually, if you do get it to work, I'd be interested in seeing your
  45. site.def & ultrix.cf files -- when I tried gcc 2.2.2, the server that
  46. was ultimately produced was screwed up.
  47.  
  48. Good luck!
  49.  
  50. Vivek
  51.  
  52. ----------------------------------------------------------------
  53. Vivek Singhal      singhal@cs.utexas.edu  Office: (512) 471-9711
  54. Univ of TX @ Austin, CS Dept, TAY 3.104C    Home: (512) 385-1855
  55.