[Issue 7678] New: Add -cflags switch for DMD that allows passing flags to GCC or ${CC}
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 9 23:25:18 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7678
Summary: Add -cflags switch for DMD that allows passing flags
to GCC or ${CC}
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: chadjoan at gmail.com
--- Comment #0 from Chad Joan <chadjoan at gmail.com> 2012-03-09 23:25:23 PST ---
On Linux and a few other hosts, DMD uses gcc (or whatever is defined in the CC
environment variable) to do its linking. Currently there seems to be no way to
pass flags into this C compiler.
This becomes a problem when you NEED to change the flags passed into that
compiler. The -Llinkerflag, unfortunately, doesn't help here. An example of
this is issue 5278 (http://d.puremagic.com/issues/show_bug.cgi?id=5278).
Without this patch, I would need to go through a lot of hoops just to upgrade
my compiler every time.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list