Document
WAMR on GitHubWAMR Blogs
  • WAMR Document Home Page
  • Basics
    • Introduction
      • WebAssembly
      • WAMR Project
      • Security Feature
    • Getting Started
      • Host Environment Preparation
      • Hello-world Program On Host
      • Docker Environment Preparation
      • Hello-world Program On Docker
      • Build And Run WASM Application
        • More Tools To Create WASM Application
  • WAMR In Practice
    • Tutorial
      • WAMR Running Modes
      • Build Tutorial
        • Build iwasm
        • Build wamrc
      • Language Embedding
        • C/C++
        • Python
        • Go
      • Debugging & IDE Support
        • WAMR Source Debugging With LLDB
        • VS Code Support
          • Enable Debugging In VS Code
          • Move LLDB Binaries
    • Advance Tutorial
      • Performance Test
        • PolyBench
        • CoreMark
        • Sightglass
        • JetStream2
      • Memory Usage Tunning
      • Application Framework
      • Remote Application Management
        • Example 1: Install/Uninstall WASM App Remotely
        • Example 2: IoT App Store Demo
      • WAMR Porting Guide
    • Features
      • Export Native APIs To WASM Applications
        • Example 1: Export C Functions to WASM
        • Example 2: Using "native-lib"
      • Multiple Modules As Dependencies
        • Multi-modules Example
      • Multi-thread, Pthread APIs And Thread Management
        • Multi-thread Example
      • Linux SGX(Intel Software Guard Extension) Support
      • Linux SGX Remote Attestation
      • XIP(Execution In Place) Support
      • Socket Support
        • Example: Use Socket Api in WAMR
      • Post-MVP Features
        • WASM C API
        • 128-bit SIMD
        • Reference Types
    • More Examples
      • File Interaction Of WASI
      • GUI Example
        • Littlevgl
        • LVGL
      • Same WASM Program Executing Concurrently
      • Build And Run Workload
    • User Case
  • Programmer's Manual
    • Programmer's Manual
      • C API Lists
  • Community
    • How To Contribute
    • WAMR On Github
    • WAMR Blogs
  • Appendix
    • Appendix A. Background Knowledge And Glossary Of Terms
    • Appendix B. WebAssembly Details
    • Appendix C. Complete WAMR Guide
Powered by GitBook
On this page
  • Quick build matrix
  • Supported architectures and platforms
  1. WAMR In Practice
  2. Tutorial

Build Tutorial

This page is under construction/refinement. p.s. wanna hear a construction joke? we are still working on it

PreviousWAMR Running ModesNextBuild iwasm

Last updated 2 years ago

In this chapter, we provide a detailed tutorial on how to build and .

Quick build matrix

Our powerful iwasm vmcore provide various running mode you could choose using the compile CMake option. Here is the matrix for different running mode and their attributes:

Running mode
CMake build options
Pros and Cons

AOT

none(default)

Classic Interpreter

-DWAMR_BUILD_FAST_INTERP=0

Fast Interpreter

none(default)

LLVM JIT

-DWAMR_BUILD_JIT=1

Fast JIT

-DWAMR_BUILD_FAST_JIT=1

Supported architectures and platforms

Here is a list of architectures and platforms WAMR support. You could click on the link for quick reference.

The iwasm supports the following architectures:

  • X86-64, X86-32

  • ARM, THUMB (ARMV7 Cortex-M7 and Cortex-A15 are tested)

  • AArch64 (Cortex-A57 and Cortex-A53 are tested)

  • RISCV64, RISCV32 (RISC-V LP64 and RISC-V LP64D are tested)

  • XTENSA, MIPS, ARC

The following platforms are supported. Click each link below for how to build iwasm on that platform. Refer to for how to port WAMR to a new platform.

, , , , ,

, , , , ,

iwasm vmcore
wamrc
WAMR porting guide
Linux SGX (Intel Software Guard Extension)
Linux
MacOS
Android
Windows
Windows (MinGW)
Zephyr
AliOS-Things
VxWorks
NuttX
RT-Thread
ESP-IDF