1
- We can't build softmmu-* targets with --static flag, here is a
1
+ ~~ We can't build softmmu-* targets with --static flag, here is a
2
2
[ thread] ( https://lists.gnu.org/archive/html/qemu-devel/2011-11/msg02878.html )
3
3
from QEMU mailing list that shows why (and I have experienced more or
4
4
less the same - qemu would just not build and complain about missing
@@ -8,21 +8,21 @@ found this
8
8
[ Debian wiki page] ( https://wiki.debian.org/RISC-V#Manual_qemu-user_installation )
9
9
that talks about static qemu-riscv binaries,
10
10
and they only mention linux-user target (not softmmu, and we need the
11
- latter). So maybe it is just not possible to build softmmu targets with
12
- static flag : unamused : ? But suppose rminnich knows what he is doing.
11
+ latter).~~ Turns out it is still possible to do so (why - no idea, but it
12
+ works and thank QEMU for that)
13
13
14
- - Current build is useless, as it is for running programs in
15
- linux-user mode .
14
+ - A * -linux-user target is for running programs in user mode, for
15
+ example, it will run an example from test/usermode/data .
16
16
17
17
The origial PR failed because device loader was not found. However, it
18
18
used a flag --without-default-devices, or something like that, which
19
19
could just disable that device.
20
20
21
- - : x : Try removing that flag.
21
+ - [x] Try removing that flag. (Worked)
22
22
23
23
Also anyway need to update QEMU to version 5.1.0, so all the builds
24
24
should be executed with that version.
25
25
26
- Also I thought that using softmmut-* target requries that we also copy
26
+ I thought that using softmmut-* target requries that we also copy
27
27
the qemu-img binary to usr/bin, but now seems like that is not a
28
28
requirement with --static flag.
0 commit comments