digitalmars / compiler Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Could you please clarify (preferably in the README) which operating systems DMC has been ported to?
https://www.digitalmars.com/download/freecompiler.html has Win32 binaries available. Where are the binaries for other systems?
git clone https://github.com/DigitalMars/Compiler.git
cd Compiler/dm/src/make
dmd --version
DMD64 D Compiler v2.080.0
Copyright (C) 1999-2018 by The D Language Foundation, All Rights Reserved written by Walter Bright
dmd dmake dman -O -release -inline
dmake.d(916): Error: undefined identifier TRUE, did you mean true?
dmake.d(1088): Error: cannot implicitly convert expression strlen(text) of type ulong to uint
dmake.d(1094): Error: cannot implicitly convert expression strlen(buf) of type ulong to uint
dmake.d(1231): Error: function dmake.mem_calloc(uint size) is not callable using argument types (ulong)
dmake.d(1231): cannot pass argument strlen(name) + strlen(ext) + 1LU + 1LU of type ulong to parameter uint size
dmake.d(1776): Error: function dmake.mem_calloc(uint size) is not callable using argument types (ulong)
dmake.d(1776): cannot pass argument strlen(s) + 1LU of type ulong to parameter uint size
funcptr in htod.c also needs to be changed to setModuleCtorDtor.
stalls on building anything with stlport 5.1 with an ansi error in stlport/stl/config/_auto_link.h in this macro ->
# define _STLP_STLPORT_LIB ""stlport"_STLP_LIB_OPTIM_MODE""_STLP_LIB_TYPE""_STLP_LIB_MOTIF"."_STLP_VERSION_STR".lib""
unless you encapsulate it in double quotes as shown.
also it cannot build stlport-5.1 at all because it cant find stlport_prefix.h.
The old version has no such problem and the header does exist.
I could not find any code for an assembler (other than the inline assembler) in this repository. Thus, I am curious to know if the Digital Mars toolchain has its own assembler capable of processing .asm
files, or if it relies on a separate assembler to handle these.
Thank you!
Fred J. Tydeman reports:
DMC has some issues with floating-point constants of the form
0000e-3
That is, numbers with just zeros and no '.' character
X32 DOS Extender previously available at dosextender.com is dead. Any chance to mirror it?
There's none at the top of the front page right now.
In the license file located at Compiler/LICENSE, there's the excerpt:
All the files in this package that are copyrighted by:
Walter Bright
Digital Mars
Symantec
SLR Systems
are licensed by the Boost Software License.
What I don't get is, does the compiler itself has any files whose copyright does not belongs to any of the four entities? I've found a few things here and there, mostly binary files and headers.
https://github.com/DigitalMars/Compiler/blob/master/dm/src/dmc/code_stub.h
https://github.com/DigitalMars/Compiler/blob/master/dm/src/dmc/msgs.h
https://github.com/DigitalMars/Compiler/blob/master/dm/src/dmc/tk/filespec.h
So ultimately I'd like to ask clarification whether or not the compiler is 100% BSL or only 95% or 90% and so on.
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
Would like to see binaries updated to the 9.00 version.
Could you please Walter release them too?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.