SWIG 1.1 for BeOS

To build SWIG 1.1 (starting with 1.1p5) under BeOS:

1) Get the current SWIG source code from ftp.swig.org.

2) Run autoconf.  If you don't have autoconf, you can get a precompiled
   version from GeekGadgets (ftp://ftp.ninemoons.com/pub/geekgadgets/...).

3) Configure with:

   CXX="cc -dialect cplus" CC=cc AR=ar-posix RANLIB=: \
   ./configure --verbose --prefix=/boot/home/config \
   --without-x --with-lang=PYTHON --with-lang=HTML \
   --with-py=/boot/home/config \
   --with-perl5=/boot/apps/GeekGadgets/bin/perl
   
   Note that this assumes you want Python as the default language, you
   want HTML as the default doc format, you've installed Python in
   /boot/home/config (the default if you've installed my port) and that
   you've got Perl 5 installed from the GeekGadgets archive.
   
   See the INSTALL file for more info in case you want to change any of
   these settings.

4) make

   All should go well.

5) Edit Runtime/Makefile so the py_shared target does this instead
   of the existing $(LDSHARED) ... line:

   mwcc -xms -f libswigpy.exp libpy.o libptr.o -o libswigpy.so \
   -lroot -l/boot/home/config/lib -lpython1.5 \
   /boot/develop/lib/ppc/glue-noinit.a \
   /boot/develop/lib/ppc/init_term_dyn.o

   Expect only the Python runtime to work until someone with more Perl,
   Tcl, etc. knowledge fixes support for those.

6) make testall

   During the tests, the "build" tests for languages other than Python
   will probably all fail.  This will be the case until someone with
   Perl, Tcl, etc. knowledge fixes support for those languages in
   Makefile.template.

7) make testclean

8) make install

9) Now make something cool with SWIG!
   
- Chris Herborth (chrish@qnx.com)
  April 25, 1998
