On Tuesday, 14 August 2018 at 13:11:57 UTC, Rel wrote:
Can I or is it even possible to remove the CRT (C's runtime
library) completely from my executables compiled with betterC
flag?
If you use either the current beta or master branch of LDC I
believe they have disabled the C runtime for WebA
There are other ways to do minimalist programming in D without
-betterC. See
https://dlang.org/changelog/2.079.0.html#minimal_runtime
Well, what would be the difference between betterC and writing my
own minimal runtime? For the time being doing betterC looks
preferable, so I don't need to re
printf() and exit() are part of the CRT.
Well, yes, but there is implementation for them in msvcrt.dll,
which is installed on all Windows platforms. So I can link to it
and use it for free, without adding the whole CRT to my
executable. Otherwise I could use MessageBox and ExitProcess for
te
On Wednesday, 15 August 2018 at 01:26:36 UTC, Laurent Tréguier
wrote:
On Tuesday, 14 August 2018 at 23:24:58 UTC, Soulsbane wrote:
No problem. Thanks! It's the mainly the
d.dls.format.dfmtBraceStyle that is bothering me. It seems
each one uses the if () style and I prefer if(). If that makes
s
On Tuesday, 14 August 2018 at 23:24:58 UTC, Soulsbane wrote:
No problem. Thanks! It's the mainly the
d.dls.format.dfmtBraceStyle that is bothering me. It seems each
one uses the if () style and I prefer if(). If that makes
sense. Again, thanks a lot for this!
Maybe this should simply be a new
On 8/14/2018 6:37 AM, Rel wrote:
On Tuesday, 14 August 2018 at 13:11:57 UTC, Rel wrote:
Can I or is it even possible to remove the CRT (C's runtime library)
completely from my executables compiled with betterC flag?
Okey, it seems I figure out how to do it with MinGW linker:
import core.
On Tuesday, 14 August 2018 at 22:24:48 UTC, Laurent Tréguier
wrote:
On Tuesday, 14 August 2018 at 21:07:34 UTC, Soulsbane wrote:
Perhaps I missed it but is there an option to disable dfmt
completely. I see several options, for example,
d.dls.format.dfmtSoftMaxLineLength.
If you're using the V
On 14 August 2018 at 09:27, namefag via Digitalmars-d
wrote:
> I wanted to install gdc at my FreeBSD,
> and it went peacefully until I typed "sudo gmake install"
> then this error happened:
>
> /usr/home/vmware/gdc/gcc-7.3.0/libphobos/libdruntime/core/stdc/stdlib.d:204:9:
> error: undefined identi
On Tuesday, 14 August 2018 at 21:07:34 UTC, Soulsbane wrote:
Perhaps I missed it but is there an option to disable dfmt
completely. I see several options, for example,
d.dls.format.dfmtSoftMaxLineLength.
If you're using the VSCode extension or Atom package, then there
is no way to deactivate
On Tuesday, 14 August 2018 at 10:43:01 UTC, w0rp wrote:
For those who like Vim, I opened an issue for adding dls
support to ALE. https://github.com/w0rp/ale/issues/1812 I might
work on it myself some day, or someone else can set it up.
ALE is a linter plugin for Vim I wrote, which is now the m
On Wednesday, 8 August 2018 at 07:57:49 UTC, Laurent Tréguier
wrote:
On Wednesday, 8 August 2018 at 07:25:57 UTC, Tab wrote:
I find DLS to be very stable
Perhaps I missed it but is there an option to disable dfmt
completely. I see several options, for example,
d.dls.format.dfmtSoftMaxLineLen
On Tuesday, 14 August 2018 at 14:42:54 UTC, Seb wrote:
On Monday, 13 August 2018 at 19:09:55 UTC, Jacob Carlborg wrote:
Any plans for doing the same thing for the installer on macOS?
It complains that it's from an unidentified developer and
forces the user to go into System Preferences and reop
On Monday, 13 August 2018 at 19:09:55 UTC, Jacob Carlborg wrote:
Any plans for doing the same thing for the installer on macOS?
It complains that it's from an unidentified developer and
forces the user to go into System Preferences and reopen the
installer.
Yes, the certificate allows signing
On 15/08/2018 2:14 AM, Timoses wrote:
On Monday, 13 August 2018 at 19:09:55 UTC, Jacob Carlborg wrote:
Any plans for doing the same thing for the installer on macOS? It
complains that it's from an unidentified developer and forces the user
to go into System Preferences and reopen the installer.
On Monday, 13 August 2018 at 19:09:55 UTC, Jacob Carlborg wrote:
Any plans for doing the same thing for the installer on macOS?
It complains that it's from an unidentified developer and
forces the user to go into System Preferences and reopen the
installer.
Can't you just usually right-click
On Tuesday, 14 August 2018 at 13:11:57 UTC, Rel wrote:
Can I or is it even possible to remove the CRT (C's runtime
library) completely from my executables compiled with betterC
flag?
-betterC currently expects the C standard library, and
consequently the C runtime. Under the hood DMD calls `
On Tuesday, 14 August 2018 at 13:11:57 UTC, Rel wrote:
Can I or is it even possible to remove the CRT (C's runtime
library) completely from my executables compiled with betterC
flag?
Have a look at example 3 of the 2.079 changelog:
https://dlang.org/changelog/2.079.0.html#minimal_runtime
On Tuesday, 14 August 2018 at 13:11:57 UTC, Rel wrote:
Can I or is it even possible to remove the CRT (C's runtime
library) completely from my executables compiled with betterC
flag?
Okey, it seems I figure out how to do it with MinGW linker:
import core.stdc.stdlib;
import core.stdc.
On 15/08/2018 1:11 AM, Rel wrote:
Can I or is it even possible to remove the CRT (C's runtime library)
completely from my executables compiled with betterC flag?
Sure, but you can't let dmd link and it'll be a right pain (at least on
Windows) to not have a libc to deal with the entry point for
Can I or is it even possible to remove the CRT (C's runtime
library) completely from my executables compiled with betterC
flag?
Feedback is welcome ;-)
The latest DMD installer seems not to be flaged by Kaspersky
Antivirus, thanks!
For those who like Vim, I opened an issue for adding dls support
to ALE. https://github.com/w0rp/ale/issues/1812 I might work on
it myself some day, or someone else can set it up.
ALE is a linter plugin for Vim I wrote, which is now the most
popular one after Syntastic and offers some language
On Tuesday, 14 August 2018 at 07:05:12 UTC, Joakim wrote:
if you have a bug ...
This is not about me:
Sorry, I mean the plural "you", as in anyone reading this thread.
Mike
I wanted to install gdc at my FreeBSD,
and it went peacefully until I typed "sudo gmake install"
then this error happened:
/usr/home/vmware/gdc/gcc-7.3.0/libphobos/libdruntime/core/stdc/stdlib.d:204:9:
error: undefined identifier 'wchar_t'
int mbtowc(scope wchar_t* pwc, scope const char* s,
On Tuesday, 14 August 2018 at 02:49:58 UTC, Mike Franklin wrote:
On Monday, 13 August 2018 at 09:50:29 UTC, Joakim wrote:
Announced last week, the Nim team will be adding two full-time
paid devs and setting up grants for needed projects with this
new funding:
:jealous:
However, there are oth
25 matches
Mail list logo