distrib > Mageia > cauldron > x86_64 > by-pkgid > 0c4fc8a7defbac40bfcff8f80a768649 > files > 11


@GROUP Unix-like Systems with GCC (Linux, *BSD, Mac OS X) @END

Building bam is easy and have very few dependencies. Make sure
that you have GCC and the pthreads library installed and
run this command:


This will build Bam with optimizations turned on. If you want a
debug version of Bam, you can invoke the script like this:

{{{{sh -O0 -g}}}}

That will turn off the optimizations and include debug
information in the build.

@GROUP Windows @END

To build on windows you need to have either Microsoft Visual C++ or

To build with Visual C++, just run press Start, Run and enter
cmd.exe and press enter. Then navigate to the Bam directory and type this:


The batch file will automaticly detect the Visual C++ version and setup
the compile environment and then build an optimized version of Bam. You
should find the exe in the base directory of Bam. If it fails to detect
Visual C++ you should have a shortcut in the start-menu for a Visual C++
command-line that setups the compile environment.

To build with MinGW, make sure that you have a correct build
environment setup in a console and then run this:


An optimized version of Bam will be built and the exe can be located in
the base directory of Bam.

@GROUP BeOS and Haiku @END

Building Bam works the same way as on Unix-like systems but
the script is called instead. You can build Bam
by running:


@GROUP Running the Test Suite @END

Bam comes with a test suite to verify that Bam is working like
it should. The suite requires <a href="">Python</a>
to be installed. This test suite is used during the development
of Bam to verify that nothing breaks between releases. You
can run the test suite by typing this:

{{{{python scripts/}}}}

It will either print out that all tests where successfull or
what tests it didn't pass.