On Thu, 2017-06-08 at 22:03 +0000, bachmeier via Digitalmars-d wrote:
> 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.Hummm… there is a passing test for creating shared objects, the test must be wrong in some way. Can you email me a small project that exhibits the problem for you, and I will add it to the test suite. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
