On Friday, 17 November 2017 at 18:53:57 UTC, Temtaime wrote:
On Thursday, 16 November 2017 at 03:58:38 UTC, Adam D. Ruppe
wrote:
[...]
There is system-wide C library. It is named msvc.dll.
TCC uses it producing very small executables.
On Thursday, 16 November 2017 at 03:58:38 UTC, Adam D. Ruppe
wrote:
On Thursday, 16 November 2017 at 03:32:26 UTC, codephantom
wrote:
23k executable if 32bit (i.e. -m32 )
It is the statically linked C library. Note that if you remove
the call to printf, the size is slashed in half.
Windows
On Thursday, 16 November 2017 at 03:32:26 UTC, codephantom wrote:
// ---
module test;
import core.stdc.stdio;
extern (C) int main()
{
printf("hello world\n");
return 0;
}
// ---
compiled with dmd v2.077.0, using the
On Thursday, 16 November 2017 at 03:58:38 UTC, Adam D. Ruppe
wrote:
It is the statically linked C library. Note that if you remove
the call to printf, the size is slashed in half.
Windows traditionally didn't do a system-wide C lib, but rather
the various compiler vendors would do their
On Thursday, 16 November 2017 at 03:32:26 UTC, codephantom wrote:
23k executable if 32bit (i.e. -m32 )
It is the statically linked C library. Note that if you remove
the call to printf, the size is slashed in half.
Windows traditionally didn't do a system-wide C lib, but rather
the various