package modules and how to generate a shared library plus .di file (I)
kdevel
kdevel at vogtner.de
Thu Dec 7 18:38:47 UTC 2017
On Thursday, 7 December 2017 at 17:58:38 UTC, ag0aep6g wrote:
> On 12/07/2017 06:53 PM, kdevel wrote:
>> Does that mean, that though the code is bundled in one library
>> (libmymod.a) for the prototypes one has as many .di files as
>> there
>> were source files?
>
> yes
Gosh! So in my example I need the following structure
libmymod.a
main.d
mymod/
bar.di
foo.di
package.d (note the extension!)
in order to get
$ dmd main.d -L-L. -L-lmymod
working.
More information about the Digitalmars-d-learn
mailing list