www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 149] New: using libgdruntime.so and libgphobos2.so

Date: Tue, 12 Aug 2014 07:08:57 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable


            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 gdcproject.org
          Reporter: ketmar ketmar.no-ip.org

Created attachment 73
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=3D73&action=3Dedit
patch to build and use libgdruntime.so and libgphobos2.so

a made a quick-and-dirty patch to build and use libgdruntime.so and

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 uncoditiona=

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,=
course, sux and should be fixed.

i'm pretty sure that -fPIC will not work too (see bug #100 =E2=80=94 i'm no=
t 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. th=
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.
Aug 11 2014