Setting up dmd properly

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 12 02:38:00 PST 2016


On 2016-01-11 02:22, Jason Jeffory wrote:
> Dmd's setup construction is a bit weird and has some difficult issue
> tracking.
>
> How about if dmd supported, if it already doesn't, some ways to help the
> user check the configuration of dmd. It would be quick and easy to
> implement.
>
> e.g.,
>
> dmd -showinfo
>
> Target Arch: x86
> Libraries: C:\Mylib;C:\Another\Lib\Somewhere
> Modules: C:\MyModules;
> Version: 2.062
> etc...

You can get some more information by compiling with the "-v" flag. In 
the top it will print the config used, i.e. the path to sc.ini the 
compiler found. At the bottom it will print the command it uses for linking.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list