Kernel cross compilation
From Alpha Linux Wiki
The steps below works for cross compiling a kernel.
Since there's no port of the libs and include files it most likely won't work for anything but kernels.
The host is an AMD Athlon 64 3 GHz running Slackware 13.0.
The target my AlphaStation 255, EV45 300 MHz running Debian 5.0.
Binutils
tar -xvjf /mnt/tmp/binutils-2.20.tar.bz2 cd binutils-2.20/ ./configure --target=alphaev45-unknown-linux-gnu --prefix=/usr/cross –disable-nls make make install
GCC
tar -xvjf /mnt/tmp/gcc-4.3.4.tar.bz2 cd gcc-4.3.4/ ./configure --prefix=/usr/cross/ --target=alphaev45-unknown-linux-gnu \ --disable-nls --without-headers –enable-languages=c,c++ make all-gcc make install-gcc
The Kernel
tar -xvjf linux-2.6.33-rc5.tar.bz2 cd linux-2.6.33-rc5.tar.bz2/ export ARCH=alpha make menuconfig export PATH=$PATH:/usr/cross/bin export CROSS_COMPILE=alphaev45-unknown-linux-gnu- make

