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:[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
