<html>
<head>
<base href="http://bugzilla.gdcproject.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - using libgdruntime.so and libgphobos2.so"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=149">149</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>using libgdruntime.so and libgphobos2.so
</td>
</tr>
<tr>
<th>Product</th>
<td>GDC
</td>
</tr>
<tr>
<th>Version</th>
<td>4.9.x
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>gdc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>ibuclaw@gdcproject.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ketmar@ketmar.no-ip.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=73&action=diff" name="attach_73" title="patch to build and use libgdruntime.so and libgphobos2.so">attachment 73</a> <a href="attachment.cgi?id=73&action=edit" title="patch to build and use libgdruntime.so and libgphobos2.so">[details]</a></span>
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 <a class="bz_bug_link
bz_status_NEW "
title="NEW - add shared lib support"
href="show_bug.cgi?id=100">bug #100</a> — 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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>