B. Single Source, Multiple Binaries

It is possible to build SCIRun for multiple machine architectures and multiple sets of configure options using the same source code directory.

For instance, if the SCIRun source code directory resides on a shared volume then Linux, 32 bit and 64 bit Irix, and Mac OSX versions can be built as follows:

mkdir SCIRun/linux
mkdir SCIRun/irix32
mkdir SCIRun/irix64
mkdir SCIRun/osx
    

After logging onto the Linux machine:

cd SCIRun/linux
../src/configure options
make -j N
    

Then from the Irix machine(s):

cd SCIRun/irix32
../src/configure options
make -j N
cd SCIRun/irix64
../src/configure --enable-64bit options
make -j N
    

and the Mac OSX platform(s):

cd SCIRun/osx
../src/configure options
make -j N
    

It is possible to build SCIRun for different sets of configure options. For example, a debug version for Mac OSX can be built as follows:

mkdir SCIRun/osx-debug
cd SCIRun/osx-debug
../src/configure --enable-debug more-options      
make -j N