Linux shared libraries - I'm confused

Gregor Richards Richards at codu.org
Thu Aug 16 13:27:30 PDT 2007


Daniel Truemper wrote:
> Hi,
> 
> Gregor Richards wrote:
>> It's not exactly an easy process to get one working on GDC either, but 
>> it can work. DSSS automates the whole process :)
> Can you give an example for creating a shared library on linux with
> DSSS? I read all readme's from DSSS but can't find it?! I am propably
> reading over it...
> 
> Daniel
> 

 From README.software_engineers line 155:

When using GDC on GNU/Linux, it is also possible to build shared 
libraries (.so
files). To specify that a shared library should be built, set the 'shared'
option in the library's section:
[mydpackage]
shared

You can set the .so file's version extension (the 1.2.3 in .so.1.2.3) 
with the
soversion setting:
[mydpackage]
shared
soversion=3.2.1

  - Gregor Richards



More information about the Digitalmars-d mailing list