Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to build from source #4

Open
ijean opened this issue May 23, 2018 · 0 comments
Open

Unable to build from source #4

ijean opened this issue May 23, 2018 · 0 comments

Comments

@ijean
Copy link

ijean commented May 23, 2018

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant