home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / gcc / help / 2088 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.7 KB  |  47 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!jessica.stanford.edu!kocks
  3. From: kocks@jessica.stanford.edu (Peter Kocks)
  4. Subject: Re: Compiling 2.2.2 on Decstation - problems!
  5. Message-ID: <1992Sep9.004250.16473@leland.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (Mr News)
  7. Organization: Academic Information Resources
  8. References: <1992Sep4.145433.22515@colorado.edu>
  9. Date: Wed, 9 Sep 92 00:42:50 GMT
  10. Lines: 35
  11.  
  12. In article <1992Sep4.145433.22515@colorado.edu> jamesa@glenn.Berkeley.EDU (Jim Anderson) writes:
  13.  
  14. [ gcc 2.2.2 will not compile on a decstation ultrix 4.2 ]
  15.  
  16. Correct.  I do not have the time to give the precise fix, but here is
  17. the problem.
  18.  
  19. The make file for gcc2.2.2 uses the new gcc compiler to compile the
  20. code equire.c (or something close to that).  Look in the Makefile, it
  21. will say that orginally the makefile used the native compiler for this
  22. code, but they changed it back.  They should not have.  
  23.  
  24. enquire.c gets the byte ordering for the machine.  It must be compiled
  25.  
  26. 1) With the native compiler (if one exists)
  27. 2) Without any optimizations of any kind.
  28. A
  29. Your best bet is to start from scartch, things get messed up if you
  30. don't.  Erase everything, reconfigure and edit the Makefile to compile
  31. enquire with the native cc compiler.  A simple cc -c enquire.c should
  32. be enough.
  33.  
  34. --Peter Kocks
  35.   kocks@chemistry.stanford.edu
  36.  
  37. P.S.  When you compile some of your own code, you may run into
  38. conflicts with some of the header files.  Make sure that you include
  39. the /usr/locla/gcc/m...../2.2.2/.../include stuff before /usr/include.
  40. This should be the default but may not be.  If conflicts arize (like
  41. with wait.h copy the /usr/include version and things should work.).
  42.  
  43.  
  44.  
  45.  
  46.  
  47.