# Surelog Install instructions

Executable: `surelog`

# Development Environment Required

* Linux (Ubuntu or Centos)

* Unlimit all limits, in your .cshrc or .bashrc put "ulimit -s"
  that will enable gcc to compile the very large Antlr generated C++ files

* Please install the following package updates:

   * `sudo apt-get install build-essential cmake git pkg-config tclsh swig uuid-dev libgoogle-perftools-dev python3 python3-dev`

   * If you don't intent to change the grammar: `sudo apt-get install default-jre`

   * If you do intent to change the grammar: `sudo apt-get install default-jdk ant`

* Download the Surelog source code
  ```
  git clone https://github.com/alainmarcel/Surelog.git
  cd Surelog
  git submodule update --init --recursive
  ```

* Build
  * `make`
  * or see [`src/README`](./src/README.md)

# Surelog Install instructions

Executable: `surelog`

# Development Environment Required

* Linux (Ubuntu or Centos)

* Unlimit all limits, in your .cshrc or .bashrc put "ulimit -s"
  that will enable gcc to compile the very large Antlr generated C++ files

* Please install the following package updates:

   * `sudo apt-get install build-essential cmake git pkg-config tclsh swig uuid-dev libgoogle-perftools-dev python3 python3-dev`

   * If you don't intent to change the grammar: `sudo apt-get install default-jre`

   * If you do intent to change the grammar: `sudo apt-get install default-jdk ant`

* If you have a version of cmake before 3.13 on your system
  (check with `cmake --version`), you need get a version that is more current.
  On Debian-like systems (includes Ubuntu), that would be
  ```
  wget -q -O- https://apt.kitware.com/keys/kitware-archive-latest.asc | sudo apt-key add -
  sudo add-apt-repository 'deb https://apt.kitware.com/ubuntu/ xenial main'
  sudo apt-get remove -y cmake
  sudo apt-get install -y cmake
  ```

* Download the Surelog source code
  ```
  git clone https://github.com/alainmarcel/Surelog.git
  cd Surelog
  git submodule update --init --recursive
  ```

* Build
  * `make`
  * or see [`src/README`](./src/README.md)

Update documentation to explain what to do if system has old cmake.
Update documentation to explain what to do if system has old cmake.

Signed-off-by: Henner Zeller <259ad50fabbfd39355f36ecd6c0afca541ea66ef@acm.org>
