Compiling -mips3 -n32 with MIPSpro7.2

New Message Reply Date view Thread view Subject view Author view

Scott McMillan (mcmillan++at++cambridge.com)
Wed, 15 Apr 1998 10:19:59 -0400


I know this is a bit outside the scope of Performer but I am
trying to compile a Performer program...

I just installed the new 7.2 MIPSpro C++ compiler (you know,
the one that requires a license now :-0 ) on an R5K O2, installed
the April edition of the recommended patchset plus all of the
applicable patches for the compiler.

I want to compile the application with '-mips3 -n32' so that I
can run the app on an R4x00 platform too. When it links, I get
the following message:

ld32: WARNING 158: Expecting MIPS3 objects: /usr/lib32/crt1.o is MIPS4.

The resulting executable is MIPS4 which will only run on systems
with R5K, R8K, and R10K cpus.

In /usr/lib32, crt1.o is a link to mips4/crt1.o, and there
exists a mips3/crt1.o. Is there a way to get the new linker
to understand the meaning of the -mips3 option and link the
appropriate object? Is there a known workaround, short of
changing the links?

Thanks in advance,
scott

-- 
Scott McMillan                   mailto:mcmillan++at++cambridge.com
Cambridge Research Associates    Ministry of Silly Walks
1430 Spring Hill Road, Ste. 200  Voice: (703) 790-0505 x7235
McLean, VA 22102                 Fax:   (703) 790-0370
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:14 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.