home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / gnu / gcc / help / 1815 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.4 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: installing gcc on mips-dec-ultrix ---- linker problem??
  5. Message-ID: <1992Jul30.045659.6771@leland.Stanford.EDU>
  6. Sender: news@leland.Stanford.EDU (Mr News)
  7. Organization: Academic Information Resources
  8. References: <9207292346.AA00347@tif28.ed.ray.com>
  9. Distribution: gnu
  10. Date: Thu, 30 Jul 92 04:56:59 GMT
  11. Lines: 34
  12.  
  13.  
  14. Hi,
  15.  
  16. I've got gcc 2.2.2 running on my NeXT and love it.  I want to get it
  17. to run on our dec at work.  Here's the problem.
  18.  
  19. I have ulrtrix 3.1, but my ultrix compiler is version 2.1.  I know
  20. this is strange, its a long story, and the cc2.1 with ld2.1 works just
  21. fine.  I don't think this is the problem, but it may be important.
  22.  
  23. gcc compiles ok.  I have to compile "enquire" by hand with ultrix cc,
  24. becuase gcc barfs.  I also have to run ./gcc -fspes_something specs
  25. because the Makefile clobbers it when it should not.  I compiled gcc
  26. in a directory other than the source directory.  I think the missing
  27. "specs" file is a bug in the Makefile.  After that, everything seems
  28. fine and gcc is installed.
  29.  
  30. PROBLEM
  31.  
  32. When a run gcc the linker (that /usr/bin/ld2.1 from dec) complains:
  33.  
  34. foo.o of wrong sex, object of wrong sex
  35.  
  36. The program is then not linked, and therefore clearly does not run.  
  37.  
  38.  
  39. HELP.
  40.  
  41. Thanks in advance.
  42.  
  43. --Peter Kocks
  44.   kocks@jessica.stanford.edu
  45.  
  46.  
  47.