Subject: Re: how to cross-compile kernel?
To: Martin Husemann <martin@duskware.de>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: port-sparc
Date: 09/07/2002 21:16:01
On Sat, Sep 07, 2002 at 20:22:12 +0200, Martin Husemann wrote:
> cd /usr/src && ./build.sh -m sparc -T /usr/tools -t
Hmm, I did a "build.sh -m sparc -D xxx". Then I used the "-t" option.
No effect. Only after using "-T /usr/tools" I got a nbconfig. If this
is true, I think build needs some more documentation.
Moreover, it still does not work:
cat ../../../../arch/sparc/sparc/genassym.cf | sh ../../../../kern/genassym.sh cc -mno-fpu -ffreestanding -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -I. -I../../../../arch -I../../../.. -nostdinc -DRASTERCONSOLE -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT > assym.h.tmp && mv -f assym.h.tmp assym.h
cc1: Invalid option `no-fpu'
*** Error code 1
Stop.
nbmake: stopped in /usr/src/sys/arch/sparc/compile/GENERIC
kirk#
This is a SPARCstation 1.
rvdp