Anton Saatze
10/19/2023, 10:08 AMlinux_arm64
and runs the code in an qemu-emulator
?
On macOS user-mode-emulation is not supported for qemu. That makes it hard to just use qemu-aarch64
in user-mode like on linux.
On Linux on the other hand I am facing issues currently about the interpreter and required library files.
I tried using the official qemu-aarch64
emulator with version 8.1.1
&
I tried using the kotlin-native/tools/qemu
scripts build qemu-aarch64
emulator with version 5.1.0-dirty
(3-years old, is anyone using it ?! )
In both cases I am facing: /lib/ld-linux-aarch64.so.1: No such file or directory
-> Fixed by adding -L /usr/aarch64-linux-gnu/
Then I am facing: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
If someone is doing this already and has a working solution, support would be really appreciated. 😀napperley
11/07/2023, 3:38 AMAnton Saatze
11/08/2023, 8:45 AM