Linux/VAX
kernel build notes. atp (a.out 16/3/99)
These instructions are out of date. Down load the ELF toolchain,
and the vax kernel snapshot and procede as you would for a standard
i386 Linux kernel cross-build. atp 01/11/99
.
See the note about the crossdevelopment
environment, and the
includes toggle.
The first steps have to be done with your standard compiler and normal
includes settings.
Apply the vax patch to linux-2.2.3
e.g. in /home/atp/vax/kernel/linux.2.2.3-vax/
patch -p1 < linux-2.2.3.diff
run make xconfig (or menuconfig or whatever).
make dep
At this point swap to using the crossdevelopment environment, and make
sure that the /usr/include links are pointing at the right place.
make ...
... and watch it choke.
The .section directives will be fixed by the elf toolchain.
alternatively
cd arch/vax
set path=(/usr/local/vax-dec-bsd/bin $path)
or
export PATH=/usr/local/vax-dec-bsd/bin:$PATH
make sure you have a /tftpboot/mop setup
as per the mopd instructions.
make
This builds the bootable image.
|