Linux MIPS Architecture development
 help / color / mirror / Atom feed
* crosscompiling for r5k.
@ 1998-12-22 15:40 Richard Hartensveld
  1998-12-23  4:50 ` ralf
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Hartensveld @ 1998-12-22 15:40 UTC (permalink / raw)
  To: linux@cthulhu.engr.sgi.com

Hi,

I'm having problems crosscompiling a kernel for my challenge s (180mhz
R5000).

I had this problem before but lost the solution during a harddisk
crash.

Is it normal that when you configure for a r5k, gcc uses the
'-mcpu=r8000' option?.
When i compile, i get a kernel, only it won't boot.

i am compiling on i386.

Some of you have come up with a fix the last time, only i haven't got it
anymore, anyone that
could help ?

Richard

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: crosscompiling for r5k.
  1998-12-22 15:40 crosscompiling for r5k Richard Hartensveld
@ 1998-12-23  4:50 ` ralf
  0 siblings, 0 replies; 2+ messages in thread
From: ralf @ 1998-12-23  4:50 UTC (permalink / raw)
  To: Richard Hartensveld, linux@cthulhu.engr.sgi.com

On Tue, Dec 22, 1998 at 07:40:54AM -0800, Richard Hartensveld wrote:

> I'm having problems crosscompiling a kernel for my challenge s (180mhz
> R5000).

> Is it normal that when you configure for a r5k, gcc uses the
> '-mcpu=r8000' option?.

Doesn't matter.  GCC 2.7.2 only knew about TFP but not R5k.  I choose to
pass -mcpu=r8000 because for the one optimization where it matters the R8000
was the best match for the R5000.  Things would be different if we'd use
floating point, but we don't.

> When i compile, i get a kernel, only it won't boot.

> Some of you have come up with a fix the last time, only i haven't got it
> anymore, anyone that
> could help ?

Did you get trapped by the -N option bug in ld?  Just dump that option from
CFLAGS in arch/mips/Makefile.

  Ralf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-12-24  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-22 15:40 crosscompiling for r5k Richard Hartensveld
1998-12-23  4:50 ` ralf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox