Simple clarification with "Building Libraries" online documentation

WhatMeWorry kheaser at gmail.com
Wed Dec 16 23:15:46 UTC 2020


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





More information about the Digitalmars-d-learn mailing list