August 30

https://forum.dlang.org/post/qazcddlblyqfrmzezdce@forum.dlang.org

On Friday, 22 March 2024 at 15:12:16 UTC, redthing1 wrote:

>

On Tuesday, 18 May 2021 at 14:43:52 UTC, Imperatorn wrote:

>

On Tuesday, 18 May 2021 at 08:40:10 UTC, Iain Buclaw wrote:

>

On Monday, 17 May 2021 at 11:08:33 UTC, Raimondo Mancino wrote:

>

[...]

The command would be pretty much the same as gcc (-nostdinc -nostdlib), but instead of -include cosmopolitan.h, you'd pass a cosmopolitan binding module (importC may solve the need for that), and a minimal (possibly empty) object.d to satisfy the compiler's need to have an object module.

Brace yourself... ImportC is coming.

Now that ImportC is here, may I ask: did you get this working? I'm also very interested in it.

Sorry for late reply, I got too much work unfortunately so I haven't tried. But maybe I'll do so in a couple of weeks.