chainq / prc-tools-remix

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

prc-tools remix

Overview

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.

Over the past decade, the Palm OS platform has surely faded into oblivion. The last release of prc-tools, version 2.3 released in 2003, no longer even compiles under modern versions of GCC and Clang. As a long-time Palm OS user and occasional app developer, I decided to do something about it.

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

Building

Linux

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

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

git clone git@github.com: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
make
sudo make install
Mac OS X

On Mac OS X, you can install using Homebrew with:

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

See the relevant README for details.

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

git clone git@github.com: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
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


Languages

Language:C 68.9%Language:C++ 7.2%Language:Makefile 4.7%Language:Assembly 4.3%Language:GCC Machine Description 4.0%Language:Roff 3.7%Language:Shell 1.4%Language:D 1.0%Language:Objective-C 1.0%Language:HTML 0.9%Language:TeX 0.7%Language:Yacc 0.6%Language:Logos 0.3%Language:Emacs Lisp 0.2%Language:M4 0.2%Language:Scheme 0.2%Language:R 0.1%Language:SuperCollider 0.1%Language:Perl 0.1%Language:Lex 0.0%Language:DIGITAL Command Language 0.0%Language:Scilab 0.0%Language:Scala 0.0%Language:GDB 0.0%Language:xBase 0.0%Language:Mathematica 0.0%Language:Smarty 0.0%Language:Prolog 0.0%Language:Awk 0.0%Language:PicoLisp 0.0%Language:Gnuplot 0.0%Language:Jasmin 0.0%Language:Fortran 0.0%Language:MATLAB 0.0%Language:Batchfile 0.0%Language:EmberScript 0.0%Language:Max 0.0%Language:Common Lisp 0.0%Language:Perl 6 0.0%Language:Python 0.0%Language:JavaScript 0.0%Language:GAP 0.0%Language:Pascal 0.0%Language:OCaml 0.0%Language:CSS 0.0%Language:Standard ML 0.0%Language:E 0.0%Language:Tcl 0.0%Language:Rebol 0.0%Language:Terra 0.0%Language:DTrace 0.0%Language:Java 0.0%