Skip to content

Commit 2356c1d

Browse files
aescolarnashif
authored andcommitted
doc native: Clarify that in Windows one needs a VM for native_sim
Be more explicit about the need for a Virtual Machine running Linux if running in Windows. Also WSL2 has been out for ~5 years. Let's reduce the amount of info on how to run it in WSL1, as probably almost nobody is using it anymore. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 44d5e83 commit 2356c1d

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

boards/native/doc/arch_soc.rst

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,11 @@ This port is designed and tested to run in Linux.
6363

6464
.. note::
6565

66-
The 32 bit version of this port does not directly work in the old Windows Subsystem
67-
for Linux (WSL1) because WSL1 does not support native 32-bit binaries.
68-
You may want to consider WSL2, or, if using :ref:`native_sim <native_sim>`,
69-
you can also just use the ``native_sim/native/64``
70-
target: Check :ref:`32 and 64bit versions<native_sim32_64>`.
71-
Otherwise `with some tinkering
72-
<https://github.com/microsoft/WSL/issues/2468#issuecomment-374904520>`_ it
73-
should be possible to make it work.
74-
66+
To use it in Windows, you will need a Virtual Machine running a Linux guest.
67+
You can use WSL 2 (Windows Subsystem for Linux v2), or another VM running your preferred Linux
68+
distribution.
69+
Note: The old WSL 1 is very limited and cannot run 32-bit binaries like the default 32-bit
70+
native_sim build configuration.
7571

7672
.. _posix_arch_limitations:
7773

0 commit comments

Comments
 (0)