Installation

The installation steps are the following:
  1. Download the parser sources from Sourceforge.

  2. Unpack the distribution:
    > tar -zxf desr-1.1.0.tgz

  3. Issue configure in directory desr-1.1.0:
    > cd desr-1.1.0
    > ./configure

  4. Build the parser with:
    > make
These steps will produce the program:

src/desr
dynamically linked executable 
and, if you have doxygen installed, it will generate the documentation in directory:

doc/html

MacOs Installation

On MacOs it is recommended to use gcc 4.2 and boost 1.33, which can be obtained as follows:
  1. Download and install Fink from http://www.finkproject.org/
  2. sudo /sw/bin/fink install gcc42
  3. sudo /sw/bin/fink install boost1.33
Then, you can configure DeSR with:

./configure CXX=/sw/bin/g++-4  CXXFLAGS="-I/sw/include -L/sw/lib"

Linux Options

On Linux binaries are generated as i386 or x64 binaries, depending on the architecture of the machine where compilation is performed.

Code that can be run on both 32-bit or 64-bit architectures, can be generated by issuing:
> configure enable-32bit
instead of step 3) of the installation procedure.

To produce a statically linked executable, issue:
> cd src
> make desr.static
which will produce:
src/desr.static
 statically linked executable
Comments