Thread overview | |||||
---|---|---|---|---|---|
|
August 12, 2011 pragma(lib, "name") for .di files | ||||
---|---|---|---|---|
| ||||
Why pragma(lib, "name"); for .di files does not causes adding -lname to the linker command line? For .d it works. (Compiler is DMD) |
August 13, 2011 Re: pragma(lib, "name") for .di files | ||||
---|---|---|---|---|
| ||||
Posted in reply to mimocrocodil | On Fri, 12 Aug 2011 19:30:29 +0000, mimocrocodil wrote:
> Why pragma(lib, "name"); for .di files does not causes adding -lname to
> the linker command line?
>
> For .d it works.
>
> (Compiler is DMD)
I'm unsure I understand the question.
.di files can not be compiled, they only describe what can be found in the library and require the library. .d files on the other hand can be compiled and thus there is no need for a library to exist.
|
August 13, 2011 Re: pragma(lib, "name") for .di files | ||||
---|---|---|---|---|
| ||||
Posted in reply to mimocrocodil | On 2011-08-12 21:30, mimocrocodil wrote: > Why pragma(lib, "name"); for .di files does not causes adding -lname to > the linker command line? > > For .d it works. > > (Compiler is DMD) http://d.puremagic.com/issues/show_bug.cgi?id=2776 -- /Jacob Carlborg |
Copyright © 1999-2021 by the D Language Foundation