# Installation of SPIKE on WSL Machine

**URL:** <https://forums.sifive.com/t/installation-of-spike-on-wsl-machine/5348>\
**Category:** HiFive Unmatched\
**Created:** [November 3, 2021, 11:18am UTC](https://forums.sifive.com/t/installation-of-spike-on-wsl-machine/5348 "2021-11-03T11:18:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shivaram](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@Shivaram](https://forums.sifive.com/u/Shivaram)\
**Post date:** [November 3, 2021, 11:18am UTC](https://forums.sifive.com/t/installation-of-spike-on-wsl-machine/5348/1 "2021-11-03T11:18:04Z")

</div>

Can someone please provide step by step guide to put SPIKE on a wsl-2 machine? when I run spike, I am getting the following error.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/sifive/original/2X/1/1c5f1f5d7764f31f0837551332ff694d39c2fc11.jpeg)

I have done my toolchain installation from this [repo](https://github.com/riscv-collab/riscv-gnu-toolchain)  
And also I cloned the [riscv-isa-sim](https://github.com/riscv-software-src/riscv-isa-sim)

Can someone please solve my issue?

---

<div class="post-metadata">

**Author:** ![Shivaram](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@Shivaram](https://forums.sifive.com/u/Shivaram)\
**Post date:** [November 3, 2021, 11:19am UTC](https://forums.sifive.com/t/installation-of-spike-on-wsl-machine/5348/2 "2021-11-03T11:19:38Z")

</div>

I’m new to the forum, and I could see there are only 3 categories, can someone please change the category

---

<div class="post-metadata">

**Author:** ![jimw](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@jimw](https://forums.sifive.com/u/jimw)\
**Post date:** [November 3, 2021, 4:33pm UTC](https://forums.sifive.com/t/installation-of-spike-on-wsl-machine/5348/3 "2021-11-03T16:33:12Z")

</div>

The SiFive forums are for supporting SiFive hardware. They aren’t meant for generic RISC-V questions. RISC-V International has mailing lists where you can ask questions, like sw-dev. See [https://riscv.org/technical/technical-forums/](https://riscv.org/technical/technical-forums/) You can also ask questions as issues in the riscv-isa-sim github tree.

Otherwise, I’d ask the usual questions, did you use a linux toolchain, did you static link, did you try enabling spike tracing options to see where it is failing.
