pragma lib doesn't support static libraries?

ryuukk_ ryuukk.dev at gmail.com
Sun Jul 30 05:28:32 UTC 2023


I should have explained exactly what i am doing..

Looks like it doesn't work when i compile in 2 step

- compile with: ``dmd -c of=bin/game.o``
- link with: ``dmd bin/game.o``

When doing it this way, then it doesn't work

However, when compiling/linking in one ``dmd`` invocation 
(without ``-c``), then it all works

So it looks like the pragma is not passed on the linked when it 
was compiled with ``-c``

Is this a bug? should i report it?, or is that the expected 
behavior?


More information about the Digitalmars-d-learn mailing list