Get started in four easy steps

for open source projects

Stensal SDK is licensed under Stensal EULA.

System requirements: Linux Kernel 2.6.39+ and x86/x86-64

  1. Download stensal-install.sh and verify its checksum (SH1A:retrieving checksum...).
  2. $ wget https://stensal.com/release/stensal-install.sh && sha1sum stensal-install.sh

  3. Run the installer as below. You need to substitute installation-folder with your choice in the following commands.
  4. $ chmod +x stensal-install.sh && ./stensal-install.sh --target installation-folder

  5. Make the compiler available to the executable search path as below.
  6. $ export PATH=installation-folder/stensal/bin:$PATH

  7. Use Stensal C/C++ compiler.
    • Use stensal-c to compile C code.
    • $ stensal-c hello-world.c

    • Use stensal-c++ to compile C++ code.
    • $ stensal-c++ hello-world.cpp

    • Use them in build systems.
    • Override the compiler environment variables supported by your build systems with stensal-c/stensal-c++. The usage samples for the commonly used build systems are listed in the following table.
      GNU configure
      CC=stensal-c CXX=stensal-c++ ./configure
      CMake
      cmake -DCMAKE_C_COMPILER=stensal-c -DCMAKE_CXX_COMPILER=stensal-c++ .. 
      Makefile
      CXX=stensal-c++
      CC=stensal-c
    • If you have trouble to build your code, please contact us and we can assist.