Login Page - Create Account

Support Board


Date/Time: Wed, 02 Jul 2025 15:17:46 +0000



Post From: Local build with mingw creates a dll without study symbols using official compiler flags

[2024-12-19 12:48:20]
jonas.cl - Posts: 3
I'm trying to build our studies locally using MingW on Linux, but for some reason the symbols scsf_ are never present in the created dll-file. I've tried all kinds of different compilation and linking parameters, also the ones provided officially here https://www.sierrachart.com/index.php?page=doc/AdvancedCustomStudyInterfaceAndLanguage.php#RemoteCompilerParameters_32.

x86_64-w64-mingw32-g++ -D _WIN64 -U NOMINMAX -march=x86-64 -mtune=x86-64 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -std=gnu++11 {InputFiles} -o Output.dll -Wno-deprecated

I'm building with wine64 x86_64-w64-mingw32-g++ ...

Running the nm command on the dll just reports "no symbols".

$ wine64 ~/Apps/cc/mingw64/bin/nm.exe strategy_64.dll
Z:\home\nixos\Apps\cc\mingw64\bin\nm.exe: strategy_64.dll: no symbols

It is also not possible to load the strategy in Sierra Chart.

What are the compiler/linker/etc flags used by "Remote Build"? All my studies build, load and work correctly with remote build.