Re: How to build static linked executable

2018-03-20 Thread Jacob Carlborg via Digitalmars-d-learn
On Tuesday, 20 March 2018 at 10:37:55 UTC, zunkree wrote: So, how to build static binary for macOS? I don't see a need to do that. I build static binaries on Linux because they work across all distros and all versions. But for macOS, there are no distros. For supporting multiple versions,

Re: How to build static linked executable

2018-03-20 Thread David Nadlinger via Digitalmars-d-learn
On Tuesday, 20 March 2018 at 10:37:55 UTC, zunkree wrote: On Sunday, 18 March 2018 at 14:36:04 UTC, Jacob Carlborg wrote: FYI, -static is not support on macOS. So, how to build static binary for macOS? Static binaries aren't really supported by Apple (anymore). What do you need it for? —

Re: How to build static linked executable

2018-03-20 Thread zunkree via Digitalmars-d-learn
On Sunday, 18 March 2018 at 14:36:04 UTC, Jacob Carlborg wrote: On 2018-03-17 16:42, Seb wrote: Yes, use -static Here's how we build the DTour: https://github.com/dlang-tour/core/blob/master/dub.sdl FYI, -static is not support on macOS. So, how to build static binary for macOS?

Re: How to build static linked executable

2018-03-20 Thread zunkree via Digitalmars-d-learn
On Saturday, 17 March 2018 at 15:42:06 UTC, Seb wrote: On Saturday, 17 March 2018 at 14:44:42 UTC, zunkree wrote: Hi, Is there a way to build static linked executable with dub for vibe-d based app? Regards, zunkree Yes, use -static Here's how we build the DTour:

Re: How to build static linked executable

2018-03-18 Thread Jacob Carlborg via Digitalmars-d-learn
On 2018-03-17 16:42, Seb wrote: Yes, use -static Here's how we build the DTour: https://github.com/dlang-tour/core/blob/master/dub.sdl FYI, -static is not support on macOS. -- /Jacob Carlborg

Re: How to build static linked executable

2018-03-17 Thread Seb via Digitalmars-d-learn
On Saturday, 17 March 2018 at 14:44:42 UTC, zunkree wrote: Hi, Is there a way to build static linked executable with dub for vibe-d based app? Regards, zunkree Yes, use -static Here's how we build the DTour: https://github.com/dlang-tour/core/blob/master/dub.sdl

Re: How to build static linked executable

2018-03-17 Thread Seb via Digitalmars-d-learn
On Saturday, 17 March 2018 at 15:42:06 UTC, Seb wrote: On Saturday, 17 March 2018 at 14:44:42 UTC, zunkree wrote: Hi, Is there a way to build static linked executable with dub for vibe-d based app? Regards, zunkree Yes, use -static Here's how we build the DTour:

How to build static linked executable

2018-03-17 Thread zunkree via Digitalmars-d-learn
Hi, Is there a way to build static linked executable with dub for vibe-d based app? Regards, zunkree