gdc shared library build
Russel Winder via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 5 10:30:50 PDT 2014
On Fri, 2014-09-05 at 17:16 +0000, David Nadlinger via Digitalmars-d
wrote:
> On Friday, 5 September 2014 at 17:14:30 UTC, Russel Winder via
> Digitalmars-d wrote:
> > I am trying to create a shared library. I have DMD and LDC
> > command lines
> > that create a shared object without reporting errors (doesn't
> > mean they
> > work though).
>
> Huh? If there are any issues with LDC shared libraries, please
> take a moment to report them.
Indeed. I am just trying to get SCons to build things properly at the
moment. Checking things actually work comes next :-)
I do note that:
dmd -of=library.so -shared -defaultlib=libphobos2.so code.o
works fine, but for ldc2 I have to have:
ldc2 -of=library.so -shared -defaultlib=phobos2 code.o
for ldc2 to work. I am not sure if this is as it should be or if one of
DMD and LDC is wrong.
--
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: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140905/733d160c/attachment.sig>
More information about the Digitalmars-d
mailing list