Subject: Re: Problems compiling locore.S
To: NetBSD/arm26 mailing list <port-arm26@netbsd.org>
From: Kjetil B. Thomassen <kjetil@thomassen.priv.no>
List: port-arm26
Date: 02/06/2001 21:45:02
I, Kjetil B. Thomassen, wrote:
>
> I fetched the latest sources yesterday with the -dPA options to cvs
> update, and remade config.
> 
> But, now I have a problem compiling a new FOURMEG kernel:
> cc -x assembler-with-cpp -D_LOCORE -I. -I../../../../arch -I../../../.. -nostdinc  -DM
> AXUSERS=2 -D_KERNEL -Darm26  -Wcomment -c ../../../../arch/arm26/arm26/locore.S
> ../../../../arch/arm26/arm26/locore.S: Assembler messages:
> ../../../../arch/arm26/arm26/locore.S:51: Error: Unknown opcode: `fp'

This is not surprising considering the fact that the SPARC processor
does not understand ARM assembly. :-)

The problem here was that I just forgot to use the cross-compiler on my
SPARCstation 2.

I am sorry about the noise I created!

Kjetil B.
mailto:kjetil@thomassen.priv.no
http://www.thomassen.priv.no/