SCons and D
bachmeier via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 8 15:03:20 PDT 2017
On Thursday, 8 June 2017 at 14:27:53 UTC, Russel Winder wrote:
> It seems I am on a bit of a roll getting changesets relating to
> D support for SCons into an appropriate state so that they get
> merged into the mainline SCons repository. So maybe now is a
> time to get any "pet peeves" with D support in SCons fixed.
When I create a shared library I get an error message.
SharedLibrary('lib2', ['lib2.d'])
leads to
dmd -oflib2.so -shared -defaultlib=libphobos2.so
-L-soname=lib2.so lib2.os
Error: unrecognized file extension os
Apparently using the .os extension works for C but not with dmd.
More information about the Digitalmars-d
mailing list