On Wednesday, 17 March 2021 at 15:16:36 UTC, Jacob Carlborg wrote:
On Wednesday, 17 March 2021 at 13:52:48 UTC, Guillaume Piolat
wrote:
On Sunday, 14 March 2021 at 11:33:00 UTC, David wrote:
Anyone else done this? Pointers welcome.
Sorry for delay.
Just add "dflags-osx-ldc": ["-static"],
On Wednesday, 17 March 2021 at 15:16:36 UTC, Jacob Carlborg wrote:
macOS doesn't support static linking.
The proper way to solve this is to bundle the dynamic libraries
with the application. If it's a GUI application it can be located
in the application bundle. It seems like David already
On Wednesday, 17 March 2021 at 13:52:48 UTC, Guillaume Piolat
wrote:
On Sunday, 14 March 2021 at 11:33:00 UTC, David wrote:
Anyone else done this? Pointers welcome.
Sorry for delay.
Just add "dflags-osx-ldc": ["-static"],
macOS doesn't support static linking.
--
/Jacob Carlborg
On Sunday, 14 March 2021 at 11:33:00 UTC, David wrote:
Anyone else done this? Pointers welcome.
Sorry for delay.
Just add "dflags-osx-ldc": ["-static"],
On Sunday, 14 March 2021 at 01:38:23 UTC, David Skluzacek wrote:
On Thursday, 11 March 2021 at 22:10:04 UTC, David wrote:
I wasn't aware that object files could be manipulated like the
strip manual page - thx for the heads up.
With the caveats that the linked post is almost 14 years old, I
On Sunday, 14 March 2021 at 00:00:59 UTC, Adam D. Ruppe wrote:
On Saturday, 13 March 2021 at 23:41:28 UTC, David wrote:
So Excel complains that it can't load my library - presumably
because libphobos2 and libdruntime are not in the sandbox.ly
You *might* be able to compile with
On Thursday, 11 March 2021 at 22:10:04 UTC, David wrote:
I wasn't aware that object files could be manipulated like the
strip manual page - thx for the heads up.
With the caveats that the linked post is almost 14 years old, I
can't try this command myself, and the ldc solution is probably
On Saturday, 13 March 2021 at 23:41:28 UTC, David wrote:
So Excel complains that it can't load my library - presumably
because libphobos2 and libdruntime are not in the sandbox.ly
You *might* be able to compile with
--link-defaultlib-shared=false to use the static
phobos+druntime... but with
On Friday, 12 March 2021 at 00:12:37 UTC, Guillaume Piolat wrote:
Create a exports.lst file with:
_addDD_D
as the only line there.
Build with:
"lflags-osx-ldc": [ "-exported_symbols_list", "exports.lst",
"-dead_strip" ],
Thx that's really helpful.
I've hit a snag with LDC. After
On Thursday, 11 March 2021 at 08:34:48 UTC, David wrote:
I thought it would be fun to convert some old C++/C quant utils
to D. I'm starting with a simple library that I call from vba
in Excel on macos:
module xlutils;
import core.stdc.string : strlen, strcpy;
//import std.conv : to;
On Thursday, 11 March 2021 at 18:35:37 UTC, Imperatorn wrote:
On Thursday, 11 March 2021 at 17:00:06 UTC, David wrote:
On Thursday, 11 March 2021 at 14:49:32 UTC, Imperatorn wrote:
On Thursday, 11 March 2021 at 10:29:55 UTC, David wrote:
On Thursday, 11 March 2021 at 08:40:58 UTC, Imperatorn
On Thursday, 11 March 2021 at 17:00:06 UTC, David wrote:
On Thursday, 11 March 2021 at 14:49:32 UTC, Imperatorn wrote:
On Thursday, 11 March 2021 at 10:29:55 UTC, David wrote:
On Thursday, 11 March 2021 at 08:40:58 UTC, Imperatorn wrote:
On Thursday, 11 March 2021 at 08:34:48 UTC, David
On Thursday, 11 March 2021 at 14:49:32 UTC, Imperatorn wrote:
On Thursday, 11 March 2021 at 10:29:55 UTC, David wrote:
On Thursday, 11 March 2021 at 08:40:58 UTC, Imperatorn wrote:
On Thursday, 11 March 2021 at 08:34:48 UTC, David wrote:
I thought it would be fun to convert some old C++/C
On Thursday, 11 March 2021 at 14:35:45 UTC, rikki cattermole
wrote:
Pipe it to grep should work
| grep -v "__D2"
Thanks - though I'm trying to suppress the symbols being
generated in the library.
A colleague says it can be done in ldc but not dmd. I'll think
I'll try that out.
On Thursday, 11 March 2021 at 10:29:55 UTC, David wrote:
On Thursday, 11 March 2021 at 08:40:58 UTC, Imperatorn wrote:
On Thursday, 11 March 2021 at 08:34:48 UTC, David wrote:
I thought it would be fun to convert some old C++/C quant
utils to D. I'm starting with a simple library that I call
Pipe it to grep should work
| grep -v "__D2"
On Thursday, 11 March 2021 at 08:40:58 UTC, Imperatorn wrote:
On Thursday, 11 March 2021 at 08:34:48 UTC, David wrote:
I thought it would be fun to convert some old C++/C quant
utils to D. I'm starting with a simple library that I call
from vba in Excel on macos:
[...]
*trigger warning*
On Thursday, 11 March 2021 at 08:34:48 UTC, David wrote:
I thought it would be fun to convert some old C++/C quant utils
to D. I'm starting with a simple library that I call from vba
in Excel on macos:
[...]
*trigger warning*
"vba in Excel on macos" ⚠️
Btw, have you looked at excel-d?
18 matches
Mail list logo