hezi / prc-tools-remix

prc-tools ported to modern Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C 69.0%Language:C++ 7.3%Language:Makefile 4.7%Language:Assembly 4.3%Language:GCC Machine Description 4.0%Language:Roff 3.7%Language:Shell 1.5%Language:D 1.0%Language:Objective-C 1.0%Language:HTML 0.7%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:Scala 0.1%Language:R 0.1%Language:Perl 0.1%Language:Lex 0.1%Language:sed 0.0%Language:DIGITAL Command Language 0.0%Language:Scilab 0.0%Language:GDB 0.0%Language:xBase 0.0%Language:Mathematica 0.0%Language:Smarty 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:SuperCollider 0.0%Language:Starlark 0.0%Language:Raku 0.0%Language:JavaScript 0.0%Language:GAP 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%