Support Board
Date/Time: Fri, 22 Nov 2024 16:18:06 +0000
Post From: How to build ACSIL study on Ubuntu/Linux
[2019-04-07 22:32:38] |
Kiwi - Posts: 375 |
You've inspired me Ganz (or I was bored on a Monday morning before the market opens). Installed sagi g++-mingw-w64-x86-64 Tested it would work with /usr/bin/x86_64-w64-mingw32-g++ -march=x86-64 -mtune=x86-64 -O2 -shared -static -static-libgcc -static-libstdc++ -s -fno-rtti -fno-exceptions -w kiwZ.cpp -o /home/john/zRamdisk/SierraData/kiwZ_64.dll Gotta go for a walk & buy the paper then I'll see about integrating it with VS Code along with a command to release & later reload the dll. Will post that later for anyone thinking about VS Code (I liked your Geany post but being a Vim addict its no use to me). So, here's the tasks.json for Visual Studio Code that will do it: {
// See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "Build_DLL", "type": "shell", "command": "/usr/bin/x86_64-w64-mingw32-g++", "args": [ "-march=x86-64", "-mtune=x86-64", "-O2", "-shared", "-static", "-static-libgcc", "-static-libstdc++", "-s", "-fno-rtti", "-fno-exceptions", "-w", "${file}", "-o", "path to your sierrachart directory/Data/${fileBasenameNoExtension}_64.dll" ], "options": { "cwd": "path to your sierrachart directory/ACS_Source" }, "problemMatcher": [ "$gcc" ], "group": { "kind": "build", "isDefault": true } } ] } Date Time Of Last Edit: 2019-04-08 07:23:29
|