Bug 24423 – Support dmd specific CC environment variable

Status
NEW
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2024-02-29T20:40:25Z
Last change time
2024-12-13T19:33:40Z
Assigned to
No Owner
Creator
Richard (Rikki) Andrew Cattermole
Moved to GitHub: dmd#18218 →

Comments

Comment #0 by alphaglosined — 2024-02-29T20:40:25Z
For Posix it may be a good idea to support a second (with priority) environment variable specific to dmd that acts as $CC does. This can be useful when using dmd as a C compiler (where dmd still needs the C compiler to link). That way you can do this, instead of modifying the build script wrt. the compiler itself. ```sh DMD_CC=$CC CC=dmd ``` https://forum.dlang.org/thread/[email protected]
Comment #1 by robert.schadek — 2024-12-13T19:33:40Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18218 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB