Re: Linux on AlphaStation 255 (fwd)
Jim Nance (Jim_Nance@avanticorp.com)
Thu, 27 Jun 1996 13:49:13 -0400 (EDT)
Forwarded message:
> Andy> - Does anyone made a cross compile with Digital Unix and cc?
>
> You do need gcc and it better be gcc 2.7.1+patches. It would be best
> to use the patches that come with the Red Hat RPM since that will make
> sure that you'll end up with a kernel that actually has a chance of
> working properly. Note that unpatched 2.7.2 was known to break the
> kernel. Cross-compilation under DEC Unix should be straight-forward
> once gcc and GNU make are installed (just take a look at the toplevel
> Makefile and set CROSS_COMPILE to an appropriate value.
I do this all the time using an unpatched gcc-2.7.1 built for Digital Unix.
>From Digital Unix make sure bash and gcc are in your path and do:
make ARCH=alpha CONFIG_SHELL=bash config
make ARCH=alpha CONFIG_SHELL=bash dep
make ARCH=alpha CONFIG_SHELL=bash
Now there will be a file called vmlinux in your top level linux directory.
do:
/bin/strip vmlinux
gzip vmlinux
Now you have a file called vmlinux.gz that the aboot boot loader can load.
Jim