Hi Gao,

On 4/7/22 11:33, Richard Henderson wrote:
From: Song Gao <[email protected]>

Add linux-user emulation introduction

Signed-off-by: Song Gao <[email protected]>
Signed-off-by: Xiaojuan Yang <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
---
  target/loongarch/README | 39 +++++++++++++++++++++++++++++++++++++--
  1 file changed, 37 insertions(+), 2 deletions(-)


+- Linux-user emulation
+
+  We already support Linux user emulation. We can use LoongArch cross-tools to 
build LoongArch executables on X86 machines,
+  and We can also use qemu-loongarch64 to run LoongArch executables.
+
+  1. Config cross-tools env.
+
+     see System emulation.
+
+  2. Test tests/tcg/multiarch.
+
+     ./configure  --static  --prefix=/usr  --disable-werror 
--target-list="loongarch64-linux-user" --enable-debug

Why are we recommending to build this particular target with
--disable-werror, what is the problem?

+
+     cd build
+
+     make && make check-tcg

Reply via email to