Thread overview | ||||||
---|---|---|---|---|---|---|
|
August 13, 2012 shared flag | ||||
---|---|---|---|---|
| ||||
Dear, ldc has shared flag i think dmd has too, i would like to know if gdc will get it ? if no how get same thing |
August 13, 2012 Re: shared flag | ||||
---|---|---|---|---|
| ||||
Posted in reply to bioinfornatics Attachments:
| Could you expand on it? On 13 August 2012 13:56, bioinfornatics <bioinfornatics@fedoraproject.org>wrote: > Dear, > ldc has shared flag i think dmd has too, i would like to know if gdc > will get it ? if no how get same thing > > |
August 13, 2012 Re: shared flag | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gyula Gubacsi | Le lundi 13 août 2012 à 17:11 +0100, Gyula Gubacsi a écrit :
> Could you expand on it?
>
> On 13 August 2012 13:56, bioinfornatics
> <bioinfornatics@fedoraproject.org> wrote:
> Dear,
> ldc has shared flag i think dmd has too, i would like to know
> if gdc
> will get it ? if no how get same thing
>
>
An use case:
ldc2 -shared -soname libFoo.so.1 foo.d -of libFoo.so.1.0
|
August 13, 2012 Re: shared flag | ||||
---|---|---|---|---|
| ||||
Posted in reply to bioinfornatics | On 08/13/2012 06:35 PM, bioinfornatics wrote: > Le lundi 13 août 2012 à 17:11 +0100, Gyula Gubacsi a écrit : >> Could you expand on it? >> >> On 13 August 2012 13:56, bioinfornatics >> <bioinfornatics@fedoraproject.org> wrote: >> Dear, >> ldc has shared flag i think dmd has too, i would like to know >> if gdc >> will get it ? if no how get same thing >> >> > > An use case: > ldc2 -shared -soname libFoo.so.1 foo.d -of libFoo.so.1.0 > It has a -shared flag but you'll need to pass the soname on to the linker: gdc -shared -Xlinker -soname=libFoo.so.1 foo.d -of libFoo.so.1.0 -- Mike Wey |
Copyright © 1999-2021 by the D Language Foundation