Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Wayne Gowcher <wgowcher@yahoo.com>
To: linux-mips@oss.sgi.com
Subject: Re: Native compile on the target using RedHat 6.1 rpms - Update
Date: Mon, 4 Jun 2001 12:20:01 -0700 (PDT)	[thread overview]
Message-ID: <20010604192001.22785.qmail@web11906.mail.yahoo.com> (raw)
In-Reply-To: <20010604174818.41079.qmail@web11904.mail.yahoo.com>

I found out what was breaking the compile :

I was setting -mcpu=r4600 -mips2. If I leave this off
everything compiles OK, but now the code isn't
optimized for the processor and does run slower ( of
course).

I also noted that if I use :
-mcpu=r4000 -mips2

I get the error :

/usr/bin/ld: /tmp/cca007591.o: ISA mismatch (-mips3)
with previous modules (-mips1)
/usr/bin/ld: /tmp/cca007591.o: uses different e_flags
(0x102) fields than previous modules (0x2)
Bad value: failed to merge target specific data of
file /tmp/cca007591.o
collect2: ld returned 1 exit status

Which I totally don't understand because I never set
mips3 I set mips2.

I am coming to the conclusion that :

the egcs-1.03a compiler as found on the sgi web site
only supports mips 1.

Can someone confirm or deny this ?

If that is so, how does anyone compile native mips2
code ? You have to build your own compiler / libraries
?

If anyone has / knows of an egcs-1.03a or higher
compiler capapble of compiling mips2 I'd really like
to hear from them.

TIA

Wayne


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

  reply	other threads:[~2001-06-04 19:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-01 21:05 Linux on PlayStation 2 Jun Sun
2001-06-01 21:35 ` Mark Lehrer
2001-06-01 22:06   ` Wayne Gowcher
2001-06-04 17:48   ` Native compile on the target using RedHat 6.1 rpms Wayne Gowcher
2001-06-04 19:20     ` Wayne Gowcher [this message]
2001-06-04 20:36       ` Native compile on the target using RedHat 6.1 rpms - Update Ralf Baechle
2001-06-04 20:53         ` Wayne Gowcher
2001-06-04 21:54           ` Ralf Baechle
2001-06-05  7:50             ` Houten K.H.C. van (Karel)
2001-07-10 19:45             ` USB OHCI on 2.4.2 kernel using r4k processor Wayne Gowcher
2001-07-11  4:36               ` Pete Popov
2001-06-04 20:28     ` Native compile on the target using RedHat 6.1 rpms Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010604192001.22785.qmail@web11906.mail.yahoo.com \
    --to=wgowcher@yahoo.com \
    --cc=linux-mips@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox