Skip to content

prc-tools 2.3 ported to modern Linux / Mac OS X

Notifications You must be signed in to change notification settings

theopoon/prc-tools-remix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prc-tools remix

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 over the past decade, 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.

Building

Linux

To build from source on Linux, e.g., on Ubuntu:

sudo apt-get install \
    texinfo \
    flex \
    bison \
    gperf

git clone [email protected]:jichu4n/prc-tools-remix.git
cd prc-tools-remix

mkdir build && cd build
../prc-tools-2.3/configure \
    --enable-targets=m68k-palmos,arm-palmos \
    --enable-languages=c,c++ \
    --disable-nls \
    --with-palmdev-prefix=/opt/palmdev \
    --host=i686-linux-gnu
# Use "env SHELL=/bin/sh make" if using a non-POSIX shell like fish
make
sudo make install
macOS

On macOS, you can install using Homebrew with:

brew tap jichu4n/palm-os
brew install prc-tools

See the Homebrew tap jichu4n/palm-os for details.

To build from source on macOS, assuming you have a sane build environment from Homebrew / Xcode:

git clone [email protected]:jichu4n/prc-tools-remix.git
cd prc-tools-remix

mkdir build && cd build
../prc-tools-2.3/configure \
    --enable-targets=m68k-palmos,arm-palmos \
    --enable-languages=c,c++ \
    --disable-nls \
    --with-palmdev-prefix=/usr/local/opt/palmdev \
    --host=i686-apple-darwin
# Use "env SHELL=/bin/sh make" if using a non-POSIX shell like fish
make
make install

Usage

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

About

prc-tools 2.3 ported to modern Linux / Mac OS X

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%