Thread (5 messages) flat view 5 messages, 4 authors, 2002-06-05

Re: Basics -- what tools for Walnut?

From: Frank Rowand <hidden>
Date: 2002-06-05 17:49:54

Dave Strout wrote:
I think I'm missing a basic concept here -- I'm about to do some work on
a Walnut system, so  I started by loading up the HardHat Linux that came
with the Walnut onto my intel desktop, then grabbing the
linuxppc_2_4_devel kernel via rsync.  When I try to compile, gas startes
to complain about "unknown option '-m405'".

I tried running /opt/hardhat/devkit/ppc/4xx/bin/ppc_4xx-as -m405, and
sure enough, it doesn't know the 405.  Nor does the gas that I built
from binutils 2.10.1 with --target-powerpc.

So, is there a patch I should be applying before building the
cross-compile environment, or a specific set of tools somewhere, or what
am I missing?
I suspect that is a fairly old tool chain that you are using.
Try modifying arch/ppc/Makefile to use

  -mcpu=403

instead of

  -mcpu=405

If you subscribe to the MontaVista product, the current compiler will
work properly with linuxppc_2_4_devel.

-Frank
--
Frank Rowand [off-list ref]
MontaVista Software, Inc

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help