home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.help
- Path: sparky!uunet!stanford.edu!leland.Stanford.EDU!jessica.stanford.edu!kocks
- From: kocks@jessica.stanford.edu (Peter Kocks)
- Subject: installing gcc on mips-dec-ultrix ---- linker problem??
- Message-ID: <1992Jul30.045659.6771@leland.Stanford.EDU>
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: Academic Information Resources
- References: <9207292346.AA00347@tif28.ed.ray.com>
- Distribution: gnu
- Date: Thu, 30 Jul 92 04:56:59 GMT
- Lines: 34
-
-
- Hi,
-
- I've got gcc 2.2.2 running on my NeXT and love it. I want to get it
- to run on our dec at work. Here's the problem.
-
- I have ulrtrix 3.1, but my ultrix compiler is version 2.1. I know
- this is strange, its a long story, and the cc2.1 with ld2.1 works just
- fine. I don't think this is the problem, but it may be important.
-
- gcc compiles ok. I have to compile "enquire" by hand with ultrix cc,
- becuase gcc barfs. I also have to run ./gcc -fspes_something specs
- because the Makefile clobbers it when it should not. I compiled gcc
- in a directory other than the source directory. I think the missing
- "specs" file is a bug in the Makefile. After that, everything seems
- fine and gcc is installed.
-
- PROBLEM
-
- When a run gcc the linker (that /usr/bin/ld2.1 from dec) complains:
-
- foo.o of wrong sex, object of wrong sex
-
- The program is then not linked, and therefore clearly does not run.
-
-
- HELP.
-
- Thanks in advance.
-
- --Peter Kocks
- kocks@jessica.stanford.edu
-
-
-