#pragma comment (lib, ...)

Jacob Carlborg doob at me.com
Wed Oct 10 12:00:57 PDT 2012

On 2012-10-10 17:56, Walter Bright wrote:

> Exactly. Embedding it in a comment section accomplishes exactly nothing
> if the linker ignores it.

DMD calls the linker (or rather GCC). Just read the section and append a 
link flag. But that might turn DMD into a linker.

Again, I think all this should be handled by a build tool and a package 

/Jacob Carlborg

More information about the Digitalmars-d mailing list