new DIP41: dmd/rdmd command line overhaul.
Mike Parker
aldacron at gmail.com
Tue May 21 06:44:33 PDT 2013
On Tuesday, 21 May 2013 at 09:45:19 UTC, Timothee Cour wrote:
> Abstract:
> This DIP seeks to improve dmd and rdmd's command line flags, to
> make it
> more self-consistent and consistent with other tools (including
> other D
> compilers), more expandable, avoid existing corner cases, and
> better
> interact with other tools such as rdmd. It also proposes new
> flags and
> proposes a simple deprecation path to follow.
>
> Link:
> http://wiki.dlang.org/DIP41
Looks good. But I would add one more. I'd like a dmd-specific
flag for specifying the library path. Of course, on posix systems
it's '-L-L/some/path', but I never can remember the format for
OPTLINK (it involves a '+') and don't know offhand what it is for
VS. In my build scripts, I just keep my libs local to the project
tree and pass the full path of each library in order to avoid the
hassle of trying to accommodate each possible linker. I'd love a
new flag that would allow passing the libpath to DMD and let it
handle putting it in the appropriate format for the current
linker.
More information about the Digitalmars-d
mailing list