[odb-users] Cross-compiling from x86 to ARM on Windows
Boris Kolpackov
boris at codesynthesis.com
Tue Sep 24 05:00:59 EDT 2024
Sunny Sun <sunny.sun at ringcentral.com> writes:
> After upgrading to odb2.5.0, this issue has been resolved. Thanks!
>
> Here I have a new question.
Do not send a new question by replying to an existing message.
It will end up with an unrelated subject and this makes email clients
with support for threading as well as the mailing list archives less
usable. Instead, create a new email with a new subject.
This is guideline #2 in the posting guidelines:
https://codesynthesis.com/support/posting-guidelines.xhtml
> How to build arm64 target odb static lib in x64 platform with msvc?
> I tried the following script, but it failed.
>
> bpkg create -d libodb-msvc-release cc^
> config.cxx=cl^
> "config.cc.coptions=/std:c++20 /O2 /MD /Zi /arch:armv8.0"^
> "config.cc.loptions=/MACHINE:ARM64"^
> "config.bin.lib=static"^
> config.install.root="%CurrentFolder%output\Release"
>
> Could you help?
What is the diagnostics that you get when you try this?
More information about the odb-users
mailing list