On Wednesday, 16 December 2020 at 22:51:55 UTC, WhatMeWorry wrote:

Looking at;

https://dlang.org/dmd-windows.html#library


Compile modules separately and then run the librarian on them:
dmd -c foo.d
dmd -c bar.d
phobos.lib -c -p32 foo.lib foo.obj bar.obj abc.obj def.lib


My bad. I now see that the last two lines should have been concatenated into one

dmd -c bar.d phobos.lib -c -p32 foo.lib foo.obj bar.obj abc.obj def.lib



Reply via email to