On 23/03/2023 19.30, Pedro Miguel Veiga de Almeida e Silva wrote:
Hello,

I am trying to cross compile the source code to deploy it in a xilinx ZCU106. But every time I execute the ./configure --target-list=aarch64-softmmu --enable-kvm and then make.

But the file that compiles is a X86.

Can you help me?

With --target-list you select the target that QEMU emulates later, not the host environment.

For cross-compiling, you need the --cross-prefix=... option of the configure script to set the prefix of your cross-compiler toolchain. For example, if your cross-compiler is called "arm-linux-gnueabi-gcc", you'd use:

 ./configure --cross-prefix=arm-linux-gnueabi-

Hope that helps,
  Thomas


Reply via email to