WeiDUorg / weidu

WeiDU is a program used to develop, distribute and install modifications for games based on the Infinity Engine.
http://www.weidu.org
GNU General Public License v2.0
90 stars 20 forks source link

Aarch64 build #230

Closed a-priestley closed 11 months ago

a-priestley commented 1 year ago

Hello, I'm wondering if it's possible to target aarch64 architecture when building weidu. I've been successful in building gemrb on arm, and it would be really cool to be able to get infinity engine mod support as well. Is this doable? I'm assuming that elkhound will need to be built for it as a prerequisite, or can I use it as-is for cross-compilation? I'm new to ocaml -- any guidance is greatly appreciated!

FredrikLindgren commented 12 months ago

I don't know much about OCaml on Arm. They state they added aarch64-output to the native compiler with 4.02, but I don't know if that means all the pieces needed to build WeiDU are in place. Elkhound only needs to run on the build system and outputs input for OCaml, so a cross-compiling build environment would not need Aarch64-elkhound, assuming OCaml can do cross-compilation. I can't help you more than that, I'm afraid.