Re: Creating a QEmu (x86-64) Image, which can execute binary applications from other x86-64 linux OSes
Christian Lohr <christian.lohr.ext@...>
Hello Alex,
Thanks for replying. Yes, I know that this isn’t the way it works on Yocto (and I told the managers it is a crappy idea to do that more than once). But they need .NET Core in that company I work for, and Mono doesn’t work (that’s what they told me). Compiling .NET Core through the Yocto process is ugly, because Microsoft used a mixture of shell scripts to compile it for some platforms, it won’t work this way on Yocto. Actually one already tried it, but only until .NET Core 2.2: https://github.com/Tragetaschen/meta-aspnet And despite this, I already managed to get the dotnet binaries for ARM32 and ARM64 already working on a i.MX6 and i.MX8 There’s a layer which just deploys the binaries: https://github.com/RDunkley/meta-dotnet-core This is currently the last step. I thought if it worked on i.MX6 and i.MX8 it shouldn’t be a problem to get it running on Virtualbox with x86-64. It should only make the things easy for the developers. It isn’t even our target platform.
Best regards,
Christian Lohr Von: yocto@... <yocto@...>
Im Auftrag von Alexander Kanavin
Yocto generally does not support this use case. The binary was compiled in a different environment and expects things in different places, and probably being different versions too. I could point out the specific problem why the executable doesn't even start, but it's really the wrong way to approach it. Is the source code for it available?
Microsoft specifically lists which distributions are supported, and there is nothing Yocto-based in it:
For mono things you can use meta-mono layer, but I am not sure if it provides exactly the item you're after.
Alex
On Wed, 12 Feb 2020 at 09:36, Christian Lohr <christian.lohr.ext@...> wrote:
|
|