linking custom modules (dmd)
Steven Schveighoffer
schveiguy at yahoo.com
Thu Nov 18 05:00:14 PST 2010
On Thu, 18 Nov 2010 05:34:39 -0500, spir <denis.spir at gmail.com> wrote:
> Hello,
>
> I haven't found the way to have custom modules linked by dmd like stdlib
> ones. For instance, if program P imports modules M and std.string, I
> need to manually write a build command like:
> $ dmd -w -ofP P.d M.d
> What have I missed?
http://www.digitalmars.com/d/2.0/dmd-linux.html#dmd_conf
Add stuff to this file if you want dmd to automatically link your libs.
-Steve
More information about the Digitalmars-d-learn
mailing list