SCons and D
Russel Winder via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 9 00:52:59 PDT 2017
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:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20170609/09a4675d/attachment.sig>
More information about the Digitalmars-d
mailing list