Port zsh

From OpenTom

Jump to: navigation, search

Example: porting zsh to ARM

Download zsh-3.0.5-15.src.rpm from http://rpmfind.net/linux/RPM/netwinder/netwinder/RPMS/dm/3.1-15/zsh-3.0.5-15.armv4l.html

Unpack it to e.g. zsh-3.0.5-arm

edit Src/signames.awk and change all 023 to 042

export PATH=/usr/local/cross/gcc-3.3.4_glibc-2.3.2/arm-linux/bin:$PATH:/usr/local/cross/gcc-3.3.4_glibc-2.3.2/bin
cd zsh-3.0.5-arm
./configure
make
cd Src
ls -l zsh

you will see the executble file, with no .EXE extension (if you dump it, you will see that it starts with the ELF magic).

Personal tools