On 11 November 2012 19:03, Russel Winder wrote:
> On Sun, 2012-11-11 at 11:17 +, Iain Buclaw wrote:
> […]
>> I'd say feature. If libgphobos was a shared object, I don't believe
>> you would get this.
>
> So the upshot is that we need to indent for libgphobos2.so in order for
> D to be useful
On Sun, 2012-11-11 at 11:17 +, Iain Buclaw wrote:
[…]
> I'd say feature. If libgphobos was a shared object, I don't believe
> you would get this.
So the upshot is that we need to indent for libgphobos2.so in order for
D to be useful in association with Python and ctypes.
I guess the question
On Sunday, 11 November 2012 at 10:39:41 UTC, Russel Winder wrote:
|> gdc -o lib_helloWorld.so -shared helloWorld.os
/usr/bin/ld:
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(object_.o):
relocation R_X86_64_32S against `_D11TypeInfo_Pv6__initZ' can
not be used when making a shared object; r
On 11 November 2012 10:39, Russel Winder wrote:
>
> |> gdc -o lib_helloWorld.so -shared helloWorld.os
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(object_.o):
> relocation R_X86_64_32S against `_D11TypeInfo_Pv6__initZ' can not be used
> when making a shared object; recompile wi
|> gdc -o lib_helloWorld.so -shared helloWorld.os
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(object_.o):
relocation R_X86_64_32S against `_D11TypeInfo_Pv6__initZ' can not be used when
making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a: