Subject: Re: How to build amigappc kernel and a minimal system to test?
To: None <port-amiga@netbsd.org>
From: Ruediger Engel <granada@a500.de>
List: port-amiga
Date: 01/25/2005 20:47:48
Ignatios Souvatzis wrote:
>Ahem... the recipe is easy...:
>
>You build a kernel with:
>
>sh build.sh -U -m amigappc -R ../rap -D ../dap -T ../tools -O ../oap tools
>sh build.sh -U -m amigappc -R ../rap -D ../dap -T ../tools -O ../oap kernel=NULL
>
>This doesn't fully work currently, but thanks to some effort by Klaus Klein,
>locore.S is compiling now. (This assumes a -current source tree, of course.)
>
>If you have errors of the type "can't find genassym", then you did something
>the wrong way.
>
> -is
>
>
The recipe did not work:
The first step built well, but the second one stopped while making the
depends for the Kernel NULL:
# create compat/.depend
rm -f .depend
CC=/usr/src/../tools/bin/powerpc--netbsd-gcc
/usr/src/../tools/bin/nbmkdep -d -f .depend -s .o\ .po\.so\ .ln
compat_exec.d compat_file.d compat_util.d kern_exit_43.d kern_info_09.d
kern_info_43.d kern_ipc_10.d kern_resource_43.d kern_sig_13.d
kern_sig_43.d kern_xxx_12.d sysv_ipc_14.d sysv_msg_14.d sysv_sem_14.d
sysv_shm_14.d tty_43.d uipc_syscalls_43.d vfs_syscalls_12.d
vfs_syscalls_20.d vfs_syscalls_43.d vm_12.d vm_43.d
# create NULL/param.c
rm -f param.c
cp /usr/src/sys/conf/param.c .
nbmake: don't know how to make
/usr/src/sys/arch/amigappc/amigappc/genassym.cf. Stop
nbmake: stopped in /usr/oap/sys/arch/amigappc/compile/NULL
Regards
Ruediger