This document explains how to install the old 0.5.0 version of
the PalmOS development tools. It assumes you want to install it
in /usr/palm; change the obvious lines if you choose a
different location. This should work on RedHat 6.x Linux.
Installation
Setup
- mkdir /usr/palm
- mkdir /usr/palm/{bin,lib,man}
Install each of the following packages in the order listed.
pilot-link
This package is used to transfer information to and from a PalmOS device
in a cradle.
binutils
gcc
- Fetch and untar gcc-2.7.2.2.
- cd gcc-2.7.2.2
- Fetch the gcc-palmos.patch.
- patch -p1 < gcc-palmos.patch
- ./configure --target=m68k-palmos-coff --prefix=/usr/palm
- make LANGUAGES="c c++"
- make LANGUAGES="c c++" install
gdb
- Fetch and untar gdb-4.16
- cd gdb-4.16
- Fetch the gdb-palmos.patch.
- patch -p1 < gdb-palmos.patch
- ./configure --target=m68k-palmos-coff --prefix=/usr/palm
- Edit gdb/gdb_string.h and remove the line:
extern char *strdup(); from near the end
- make
- make install
- make install-info
prctools
- Fetch and untar prc-tools.0.5.0.tar.gz
- cd prc-tools-0.5.0
- echo >> PalmOS2/Common.h
- mkdir pilrc2.0a
- cd pilrc2.0a
- Fetch pilrcsrc.zip
- unzip -aa -j -L pilrcsrc.zip 'src/*'
- cd ..
- Fetch and untar PalmOS3.tgz, the PalmOS3 header
files.
- Fetch the prctools.patch.
- patch -p1 < prctools.patch
- (If you chose an installation prefix other than /usr/palm,
edit the Makefile at this point.)
- make
- make install
libsocket
- Fetch libsocket.a.
- install -m 644 libsocket.a /usr/palm/m68k-palmos-coff/lib/