Skip to content

hezi/prc-tools-remix

 
 

Repository files navigation

prc-tools-remix

Build Status

Overview

This repository is an archive of prc-tools 2.3 and its GCC cross-compilation toolchain, with patches enabling it to build and run on modern Linux and macOS systems.

prc-tools is a collection of tools supporting C and C++ programming for Palm OS. It supplies a full GCC cross-compilation toolchain for m68k and ARM, as well as Palm OS-specific utilities.

As the Palm OS platform faded into oblivion, prc-tools appears to be have been unmaintained since 2003 and no longer compiles under recent versions of GCC and Clang. This repo includes a number of patches to enable it to build and run on modern Linux and macOS systems.

Installation

Debian / Ubuntu

If you’re using a recent 64-bit version of Ubuntu or Debian, you can run the tools/setup-palm-os-dev-env-deb.sh script to set up a full Palm OS development environment that includes prc-tools-remix, Palm OS SDKs and PilRC:

curl -sLO https://github.com/jichu4n/prc-tools-remix/raw/master/tools/setup-palm-os-dev-env-deb.sh
chmod +x setup-palm-os-dev-env-deb.sh
./setup-palm-os-dev-env-deb.sh $DIST

…​where $DIST can be one of focal, bionic, xenial, buster, or stretch, depending on your distro and version.

You can also download and install pre-built .deb packages for prc-tools-remix only from the Releases page.

Otherwise, please see "Building from source" below.

Arch Linux / Manjaro

You can install prc-tools-remix from the AUR:

yay -S prc-tools-remix

For a full Palm OS development environment that includes prc-tools-remix, Palm OS SDKs and PilRC:

yay -S prc-tools-remix palm-os-sdk-git pilrc

Building from source

See tools/build.sh for general build steps.

To build and install using tools/build.sh:

# Install dependencies:
sudo apt-get install \
    build-essential autoconf automake \
    libncurses-dev \
    flex bison \
    texinfo gperf

# Download code:
git clone https://github.com/jichu4n/prc-tools-remix.git
cd prc-tools-remix

# Build and install into "./dist/" directory:
./tools/build.sh

# To build a binary tarball:
(cd ./dist && tar cvjf ../prc-tools-remix.tar.bz2 *)
# To unpack into your system:
sudo tar xvjf prc-tools-remix.tar.bz2 -C /

Usage

Please refer to the prc-tools homepage for documentation on usage.

About

prc-tools ported to modern Linux

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 69.2%
  • C++ 7.3%
  • Makefile 4.7%
  • Assembly 4.3%
  • GCC Machine Description 4.0%
  • Roff 3.7%
  • Other 6.8%