Re: SONAME and D

2012-02-27 Thread bioinfornatics
Le lundi 27 février 2012 à 11:36 +0100, Mike Wey a écrit : > On 02/27/2012 10:30 AM, bioinfornatics wrote: > > Le lundi 27 février 2012 à 09:51 +0100, Jacob Carlborg a écrit : > >> On 2012-02-26 14:53, bioinfornatics wrote: > >>> Le vendredi 24 février 2012 à 15:56 +0100, Mike Wey a écrit : >

Re: SONAME and D

2012-02-27 Thread Mike Wey
On 02/27/2012 10:30 AM, bioinfornatics wrote: Le lundi 27 février 2012 à 09:51 +0100, Jacob Carlborg a écrit : On 2012-02-26 14:53, bioinfornatics wrote: Le vendredi 24 février 2012 à 15:56 +0100, Mike Wey a écrit : On 02/23/2012 08:29 PM, bioinfornatics wrote: Le jeudi 23 février 2012 à 19:4

Re: SONAME and D

2012-02-27 Thread bioinfornatics
Le lundi 27 février 2012 à 09:51 +0100, Jacob Carlborg a écrit : > On 2012-02-26 14:53, bioinfornatics wrote: > > Le vendredi 24 février 2012 à 15:56 +0100, Mike Wey a écrit : > >> On 02/23/2012 08:29 PM, bioinfornatics wrote: > >>> Le jeudi 23 février 2012 à 19:46 +0100, Mike Wey a écrit : >

Re: SONAME and D

2012-02-27 Thread Jacob Carlborg
On 2012-02-26 14:53, bioinfornatics wrote: Le vendredi 24 février 2012 à 15:56 +0100, Mike Wey a écrit : On 02/23/2012 08:29 PM, bioinfornatics wrote: Le jeudi 23 février 2012 à 19:46 +0100, Mike Wey a écrit : On 02/23/2012 05:27 PM, bioinfornatics wrote: dear, for set soname with: - gdc: -Xl

Re: SONAME and D

2012-02-26 Thread Mike Wey
On 02/26/2012 02:53 PM, bioinfornatics wrote: Le vendredi 24 février 2012 à 15:56 +0100, Mike Wey a écrit : On 02/23/2012 08:29 PM, bioinfornatics wrote: Le jeudi 23 février 2012 à 19:46 +0100, Mike Wey a écrit : On 02/23/2012 05:27 PM, bioinfornatics wrote: dear, for set soname with: - gdc:

Re: SONAME and D

2012-02-26 Thread bioinfornatics
Le vendredi 24 février 2012 à 15:56 +0100, Mike Wey a écrit : > On 02/23/2012 08:29 PM, bioinfornatics wrote: > > Le jeudi 23 février 2012 à 19:46 +0100, Mike Wey a écrit : > >> On 02/23/2012 05:27 PM, bioinfornatics wrote: > >>> dear, > >>> for set soname with: > >>> - gdc: -Xlinker -soname myLib.

Re: SONAME and D

2012-02-26 Thread bioinfornatics
Le vendredi 24 février 2012 à 13:00 -0800, H. S. Teoh a écrit : > On Fri, Feb 24, 2012 at 09:35:57PM +0100, Jordi Sayol wrote: > > Al 24/02/12 20:45, En/na H. S. Teoh ha escrit: > [...] > > > I personally think that phobos *should* be a shared object at some > > > point, but not everyone agrees wit

Re: SONAME and D

2012-02-24 Thread H. S. Teoh
On Fri, Feb 24, 2012 at 09:35:57PM +0100, Jordi Sayol wrote: > Al 24/02/12 20:45, En/na H. S. Teoh ha escrit: [...] > > I personally think that phobos *should* be a shared object at some > > point, but not everyone agrees with me. > > > > I think that phobos should be a shared object too, but onl

Re: SONAME and D

2012-02-24 Thread Jordi Sayol
Al 24/02/12 20:45, En/na H. S. Teoh ha escrit: > On Fri, Feb 24, 2012 at 08:36:03PM +0100, Jordi Sayol wrote: > [...] >> better wait till libphobos2.a becomes libphobos2.so > [...] > > You might have to wait a while for that. AFAIK there are no plans > currently to make phobos available as a share

Re: SONAME and D

2012-02-24 Thread H. S. Teoh
On Fri, Feb 24, 2012 at 08:36:03PM +0100, Jordi Sayol wrote: [...] > better wait till libphobos2.a becomes libphobos2.so [...] You might have to wait a while for that. AFAIK there are no plans currently to make phobos available as a shared library yet. I personally think that phobos *should* be a

Re: SONAME and D

2012-02-24 Thread Jordi Sayol
Al 24/02/12 20:21, En/na Ellery Newcomer ha escrit: > On 02/24/2012 06:27 AM, Jordi Sayol wrote: >> >> It compiles to 32-bit but fails for 64-bit, maybe due to compiled libphobos2 >> (64-bit) without -fPIC argument? >> > > What? -shared works with 32-bit? > > Holy crap, it does! this is awesome!

Re: SONAME and D

2012-02-24 Thread Ellery Newcomer
On 02/24/2012 06:27 AM, Jordi Sayol wrote: It compiles to 32-bit but fails for 64-bit, maybe due to compiled libphobos2 (64-bit) without -fPIC argument? What? -shared works with 32-bit? Holy crap, it does! this is awesome! maybe make a bug report for 64 bit?

Re: SONAME and D

2012-02-24 Thread Mike Wey
On 02/23/2012 08:29 PM, bioinfornatics wrote: Le jeudi 23 février 2012 à 19:46 +0100, Mike Wey a écrit : On 02/23/2012 05:27 PM, bioinfornatics wrote: dear, for set soname with: - gdc: -Xlinker -soname myLib.so.1 - ldc2: -soname myLib.so.1 - dmd: ? someone know how set soname with dmd ? dmd

Re: SONAME and D

2012-02-24 Thread Jordi Sayol
Al 24/02/12 11:59, En/na David ha escrit: >> >> Are you able to build dynamic libraries directly with DMD? >> How? > -sharedgenerate shared library > It compiles to 32-bit but fails for 64-bit, maybe due to compiled libphobos2 (64-bit) without -fPIC argument? Another thing. $ dmd -fPIC

Re: SONAME and D

2012-02-24 Thread Jordi Sayol
Al 24/02/12 11:59, En/na David ha escrit: >> >> Are you able to build dynamic libraries directly with DMD? >> How? > -sharedgenerate shared library > I got this: $ dmd -fPIC -shared foo.d /usr/bin/ld: /usr/lib/libphobos2.a(minfo.o): relocation R_X86_64_32 against `.data' can not be used

Re: SONAME and D

2012-02-24 Thread David
Am 24.02.2012 11:40, schrieb Jordi Sayol: Al 23/02/12 20:29, En/na bioinfornatics ha escrit: Le jeudi 23 février 2012 à 19:46 +0100, Mike Wey a écrit : On 02/23/2012 05:27 PM, bioinfornatics wrote: dear, for set soname with: - gdc: -Xlinker -soname myLib.so.1 - ldc2: -soname myLib.so.1 - dmd:

Re: SONAME and D

2012-02-24 Thread Jordi Sayol
Al 23/02/12 20:29, En/na bioinfornatics ha escrit: > Le jeudi 23 février 2012 à 19:46 +0100, Mike Wey a écrit : >> On 02/23/2012 05:27 PM, bioinfornatics wrote: >>> dear, >>> for set soname with: >>> - gdc: -Xlinker -soname myLib.so.1 >>> - ldc2: -soname myLib.so.1 >>> - dmd: ? >>> >>> someone know

Re: SONAME and D

2012-02-23 Thread bioinfornatics
Le jeudi 23 février 2012 à 19:46 +0100, Mike Wey a écrit : > On 02/23/2012 05:27 PM, bioinfornatics wrote: > > dear, > > for set soname with: > > - gdc: -Xlinker -soname myLib.so.1 > > - ldc2: -soname myLib.so.1 > > - dmd: ? > > > > someone know how set soname with dmd ? > > > > dmd -L-soname=myli

Re: SONAME and D

2012-02-23 Thread Mike Wey
On 02/23/2012 05:27 PM, bioinfornatics wrote: dear, for set soname with: - gdc: -Xlinker -soname myLib.so.1 - ldc2: -soname myLib.so.1 - dmd: ? someone know how set soname with dmd ? dmd -L-soname=mylib.so.1 -- Mike Wey

SONAME and D

2012-02-23 Thread bioinfornatics
dear, for set soname with: - gdc: -Xlinker -soname myLib.so.1 - ldc2: -soname myLib.so.1 - dmd: ? someone know how set soname with dmd ?