[Issue 12963] New: posix.mak hardcodes $(CC) as cc on non Windows system

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jun 22 18:35:53 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=12963

          Issue ID: 12963
           Summary: posix.mak hardcodes $(CC) as cc on non Windows system
           Product: D
           Version: unspecified
          Hardware: x86
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: Phobos
          Assignee: nobody at puremagic.com
          Reporter: jason.brian.king at gmail.com

Currently, the Phobos posix.mak contains the following lines:

# Set CC and DMD
ifeq ($(OS),win32wine)
        CC = wine dmc.exe
        DMD = wine dmd.exe
        RUN = wine
else
        DMD = ../dmd/src/dmd
        ifeq ($(OS),win32)
                CC = dmc
        else
                CC = cc
        endif
        RUN =
endif

This has the effect of hardcoding $CC to cc on non-Win32 systems.  I don't
think there's any reason this should hard code this on non-Win32 systems (as it
precludes using a specific C compiler).

--


More information about the Digitalmars-d-bugs mailing list