[Bug 149] New: using libgdruntime.so and libgphobos2.so
via D.gnu
d.gnu at puremagic.com
Mon Aug 11 23:08:57 PDT 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=149
Bug ID: 149
Summary: using libgdruntime.so and libgphobos2.so
Product: GDC
Version: 4.9.x
Hardware: x86
OS: Linux
Status: NEW
Severity: enhancement
Priority: Normal
Component: gdc
Assignee: ibuclaw at gdcproject.org
Reporter: ketmar at ketmar.no-ip.org
Created attachment 73
--> http://bugzilla.gdcproject.org/attachment.cgi?id=73&action=edit
patch to build and use libgdruntime.so and libgphobos2.so
a made a quick-and-dirty patch to build and use libgdruntime.so and
libgphobos2.so.
this is not a ready-to-use patch, and virtually nothing was tested with it
(just some my toy projects). also i'm suck at autotools, so --enable-shared
flag does nothing at all: .so files will be build and installed uncoditionally.
but i made -static-libphobos to work as expected (i.e. using libgphobos2.a).
the patch uncoditionally adds -lcurl, 'cause libgphobos2.so wants it. this, of
course, sux and should be fixed.
i'm pretty sure that -fPIC will not work too (see bug #100 — i'm not sure if
anything was changed from that time).
the patch was made against current gdc-4.9 git branch.
anyway, feel free to play with it. somebody has to start this work and it
happened that i have a free evening to write something we can play with. there
is a huge amount of work before this will become usable, of course.
--
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20140812/1ca86c62/attachment.html>
More information about the D.gnu
mailing list