Thread overview
[Issue 8197] New: phobos\win32.mak missing -Idruntime\import
Jun 04, 2012
simendsjo
Jun 04, 2012
Jonathan M Davis
Jun 04, 2012
simendsjo
June 04, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8197

           Summary: phobos\win32.mak missing -Idruntime\import
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: simendsjo@gmail.com


--- Comment #0 from simendsjo <simendsjo@gmail.com> 2012-06-04 06:01:48 PDT ---
.. And it cannot find object.di

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 04, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8197


Jonathan M Davis <jmdavisProg@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg@gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisProg@gmx.com> 2012-06-04 08:48:23 PDT ---
Please be more specific. The autotester is passing on all platforms. This sounds like an issue with your environment or installation. But you've given so little information, that I can't even say what problem that you're really reporting.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 04, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8197



--- Comment #2 from simendsjo <simendsjo@gmail.com> 2012-06-04 11:33:52 PDT ---
(In reply to comment #1)
> Please be more specific. The autotester is passing on all platforms. This sounds like an issue with your environment or installation. But you've given so little information, that I can't even say what problem that you're really reporting.

Sorry for the simplistic report.
-I../druntime/src is included in win32.mak, but not -I../druntime/include. As I
did a clean checkout of dmd, phobos and druntime for the first time, I figured
it was a problem that would show on all windows boxes.

My folder setup is:
./dmd
./phobos
./druntime

By adding (a hack) DMD=dmd -I../druntime/import to win32.mak it compiles
successfully.
I see posix.mak includes the following line:
DFLAGS := -I$(DRUNTIME_PATH)/import $(DMDEXTRAFLAGS) -w -d -property -m$(MODEL)

while win32.mak doesn't have any reference to druntime/import at all.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------