[Issue 15445] New: Make DMD's command-line options more compatible with other popular C/C++ compilers
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Dec 14 19:39:30 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15445
Issue ID: 15445
Summary: Make DMD's command-line options more compatible with
other popular C/C++ compilers
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: samjnaa at gmail.com
Currently DMD's command-line options are different from those of popular
C-family compilers like GCC and Clang. This violates the principle of least
surprise and thus makes it unnecessarily difficult for people to migrate from
those languages without any significant benefit. We should try to make adopting
D easier.
>From http://www.unix.com/man-page/debian/1/gdc/ I note that GDC has a much more
streamlined interface which provides for D's additional features but at the
same time keeps the rest in line with GCC.
I request that DMD's (and thereby LDC should hopefully follow suit)
command-line interface be likewise streamlined so that it can be more usable.
Notably, -of as output option i.o. -o is most awkward, but the rest are
likewise too...
--
More information about the Digitalmars-d-bugs
mailing list