gdc shared library build
Russel Winder via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 5 10:14:20 PDT 2014
Iain,
I suspect I have failed to: a) remember something I should know; and b)
discover something I should be able to find out from the webverse.
However:
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). Sadly GDC isn't playing ball with:
gdc -o libthingy.so -shared file.o
it is trying to link to the static libphobos2.a which is clearly going
to be a bit of a problem. Thus I have to specify forcing lookup in
libphobos2.so. Is this easy?
--
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/c8cf1028/attachment.sig>
More information about the Digitalmars-d
mailing list