digitalmars.D.learn - pragma(lib, "name") for .di files
- mimocrocodil <4denizzz gmail.com> Aug 12 2011
- Jesse Phillips <jessekphillips+d gmail.com> Aug 12 2011
- Jacob Carlborg <doob me.com> Aug 13 2011
Why pragma(lib, "name"); for .di files does not causes adding -lname to the linker command line? For .d it works. (Compiler is DMD)
Aug 12 2011
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.
Aug 12 2011
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
Aug 13 2011









Jesse Phillips <jessekphillips+d gmail.com> 