Login Page - Create Account

Support Board


Date/Time: Tue, 22 Apr 2025 11:09:15 +0000



Post From: Problem: Remote Build in SierraChart_ARM64.exe is creating x64 (Intel) DLLs

[2025-01-04 12:08:28]
seandunaway - Posts: 348
last i looked, mingw has some unofficial arm64 targets but they haven't made it upstream yet

if you switched to llvm you get all the cross-compile targets built in

it's a clean portable install and compile commands would look like

clang++ -target aarch64-pc-windows-msvc -O2 -shared file.cpp -lgdi32
clang++ -target x86_64-pc-windows-msvc -O2 -shared file.cpp -lgdi32

llvm also has clang-cl which takes cl.exe's same command line arguments (e.g. /MACHINE:ARM64 /O2 /DLL /LINK "Gdi32.lib")

is the remote build server windows or linux?

if it's windows, using cl.exe against the official windows sdk instead of mingw would be ideal

if it's linux, what's the distro, architecture and exact version? i'd be willing to spin up a vm and document the exact commands to get it all working proper. would you want to use the distro's package manager for system wide setup and updating, or portable installs of all the dependencies in a single folder?
Date Time Of Last Edit: 2025-01-04 12:35:56