Download latest pre-release: pbasm_0.2_src.tar.gz
Detailed information about pbasm is contained in the README file that
is part of the pbasm source package. After downloading the file,
unpack it as follows:
Compiling on MS Windows
- Change directory to the location of the downloaded file
% cd <download_directory>
- Uncompress the downloaded file
% gunzip <file>.tar.gz
- Untar the decompressed file
% tar xvf <file>.tar
- Change directory to the new pbasm subdirectory
% cd pbasm_<version>_src
- Follow the instructions found in the README file to build
and install pbasm.
It is possible to compile and run pbasm on MS Windows by using
the Cygwin environment, which provides
a Linux-like environment including development tools such as
gcc, flex, bison and make.
Future releases of pbasm will include improvements that will make
Windows/Cygwin install easier.
Compiling on Solaris
- Download and install the Cygwin package. You will need the
user environment and developer tools mentioned above.
- Download and unpack the pbasm package as described under the
Installation section above, and follow the directions in the
README file to compile pbasm.
- If pbasm fails to compile because of missing libgen.h,
then download and install the libgen package. Download either the source libgen package
or the binary. Use bunzip2 to unpack the libgen package.
For the source package, use make install to install.
The binary package can just be untarred from the root (/)
- If pbasm fails to compile because of the -ll library
is not found, edit the Makefile and change -ll to
-lfl. If you installed the libgen package,
add -lgen next to the -ll so that
the installed libgen library will be linked in.
- You should now be able to successfully compile and install
pbasm in the Cygwin MS Window environment.
Compilation on Solaris is currently broken in pbasm 0.2. To
fix the problems, download pbasm_0.2_solaris_patch, and apply it as follows:
% cd pbasm_0.2_src
% patch < pbasm_0.2_solaris_patch
After applying this fix, it will be possible to compile and install
on Solaris. The patch removes the long form of the command line options,
so you must use the short form. I plan to use GNU autoconf in future versions to fix these portability