Shared library packaging issues

Marco Leise via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 18 11:20:45 PST 2014


Am Tue, 18 Nov 2014 17:10:18 +0000
schrieb "GreatEmerald" <pastas4 at gmail.com>:

> On Tuesday, 18 November 2014 at 16:26:58 UTC, Marco Leise wrote:
> > ABI differences in source files only apply to druntime/Phobos
> > and these imports are generally on the default import path. I
> > was more concerned with GtkD and similar 3rd party libraries,
> > for which you have to specify the import path.
> 
> Fair enough, include files shouldn't be compiler-specific. But 
> then why have them in a dlang subdirectory and not simply in each 
> package's own subdirectory in includes root? Files in 
> /usr/includes/libarcomage are probably easier to find than those 
> in /usr/includes/dlang/libarcomage.

I don't know. I guess maybe because /usr/include typically
contains .h files or to avoid directory name conflicts with
existing C libraries. I guess we could drop it if we agreed on
that.

-- 
Marco



More information about the Digitalmars-d mailing list