![]() ![]() ![]() ![]() ![]() ![]() |
These instructions are due to be updated. The current build environment is based around an ELF toolchain. See the download link on the main page for this toolchain. atp 01/11/99 .
You will need the cross devel tar file cross.rh51.i386.vax.2.tar.gz from ftp://ftp.mssl.ucl.ac.uk/projects/linux-vax/old/ This contains a minimal cross development enviroment, built around the packages
(For the curious, the gcc build stopped at just past the libgcc1.a stage, since we dont need shared libraries initially.) Host is i686-linux-elf (redhat 5.1/intel) Target is vax-dec-bsd
To install As root on a Linux/i386
system, untar the file from /
Usage To use, make sure that the directory /usr/local/vax-dec-bsd/bin is on the path before /usr/bin (so that the "as" picked up is the vax one). i.e. for tcsh
users
Then use a compilation command similar to gcc -b vax-dec-bsd -Wall -fpic -I./include -nostdlib -nostartfiles If you get an error like; gcc -nostartfiles -nostdlib
-bvax-dec-bsd -Wall -fpic -I../../../include -D__KERNEL__ -c tmp_init.c
then recheck the VAX utils are first on the path.
Include files If you want to use this to compile the kernel, you will need tomake sure that the symlinks in /usr/include point at the right place. e.g. if the kernel source
code was in /user/users/atp/vax/kernel/linux
[root@mssllq include]#
ln -sf /usr/users/atp/vax/kernel/linux/include/asm asm
This is a pain if you want
to compile some native software as well.
[root@mssllq include]#
/root/toggleinc
|
Page last updated 12/3/99