qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cross-building with qemu-i386/aarch64


From: Frans de Boer
Subject: cross-building with qemu-i386/aarch64
Date: Wed, 11 Aug 2021 13:15:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0

LS,

I have a puzzle for which I seek some assistance for the following case:

I have build a cross-compiler for - say - the i586 architecture, including glibc and some others. The next step would be to transfer this together with other sources to the target machine and finish the building of a bootable system. Now, suppose I have no bootable target system (yet) and want to build everything using qemu-i386 to be transferred later.

However when I start:
  qemu-i386 /path to i386 sbin/chroot "<path to new root> /usr/bin/env -i ....... /usr/bin/bash --login I end up that the chroot program complains that it can't find /lib/libc.so.6, which actually does exist on <path to new root>/lib/libc.so.6.

Am I missing something and/or is there a solution that I am not aware of as yet.

--- Frans.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]