# SWIG 1.1p5 for BeOS (PowerPC Edition)

Here's a port of SWIG 1.1p5 to BeOS.

SWIG is a powerful scripting language interface wrapper that'll help you generate C/C++ function bindings for several different scripting languages (such as Python, perl, Tcl, etc.).

For more information, see the included documentation (it's in PDF format, so you might want to visit the SWIG web site and grab the PostScript or HTML documentation).

- Where's the x86 version?
- What's here?
- How do I install?
- Patches

## Where's the x86 version?

At this time, SWIG only supports BeOS on the PowerPC platform; if you'd like to port it to the x86 platform, go right ahead. I only have limited access to BeOS on an x86 system, so it's extremely difficult for me to figure out x86's different method of handling shared libraries and linking. If you'd like to lend me an x86 laptop running BeOS to do the port (an the Python port, and the DOOM port, and ...) definitely let me know! `:-)`

I'll even give it back when I'm done.

## What's here?

File | Description
--- | ---
`install.sh` | The installation script. See How do I install? below!
`SWIG1.1p5` | The SWIG 1.1p5 for BeOS (PowerPC Edition) installation files.
`README.html` | This file (of course!).

## How do I install?

To install SWIG 1.1p5 for BeOS (PowerPC Edition):

1. Open a Terminal window and `cd` to the directory where you unpacked SWIG1.1p5.

   If you've got the TermHire Tracker add-on installed, you can just press Command-Option-T to do this.

2. Run the installer script:

       ./install.sh

   You should see some messages as it moves SWIG 1.1p5 for BeOS (PowerPC Edition) into the appropriate folders on your system.

3. That's it! You're done, go play with SWIG 1.1p5 for BeOS (PowerPC Edition) now.

### What does `install.sh` do?

`install.sh` just moves the SWIG 1.1p5 for BeOS (PowerPC Edition) files into the appropriate spots on your `/boot` volume.

## Patches

The only patches that I made to the original source were to two files in the `Tests/Build` directory. You'll find the trivial diffs in `/boot/apps/SWIG1.1p5/Tests/Build` after the installation is done.

Chris Herborth (chrish@qnx.com)

April 29, 1998