Skip to content

Unable to build from source #4

@ijean

Description

@ijean

Hi,

when I try to build the compiler with make release I get an error about missing a D module which seems to be present in the source:

C:\examples\Compiler-master\dm\src\dmc>make release
make clean
del *.obj
del *.lnk
del *.sym
del *.dep
del *.def
del msgsx.exe
del optabgen.exe
del *.map
del *.tmp
del *.lst
del *.exp
del *.dbg
del *.res
del msgs.c msgs2.d msgs2.h msgs2.c elxxx.c cdxxx.c optab.c debtab.c fltables.c t
ytab.c

make scppn
make TARGET=SCPP OPT=-o "DEBUG= -DSTATIC= -Nc" LFLAGS=/noi/noe/map scppn.exe
c:\d\dmd2\windows\bin\dmd -c -betterC -noboundscheck -mv=dmd.backend=. -mv=tk=tk
 -version=SCPP  -O -release -inline  dblklst.d
.\code.d(16): Error: module `cc` is in file 'ddmd\backend\cc.d' which cannot be
read
import path[0] = c:\d\dmd2\windows\bin\..\..\src\phobos
import path[1] = c:\d\dmd2\windows\bin\..\..\src\druntime\import

--- errorlevel 1

--- errorlevel 1

--- errorlevel 1

C:\examples\Compiler-master\dm\src\dmc>

I've installed the D compiler in C:\D and the C/C++ compiler in c:\dmc using the D installer. And I've modified the makefile accordingly:

DMCDIR=c:\dmc\dm
DMDDIR=c:\d\dmd2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions