Giter VIP home page Giter VIP logo

compiler's Issues

Can't build 'make' with dmd 2.080.0

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

Prebuilt binaries

Would like to see binaries updated to the 9.00 version.
Could you please Walter release them too?

000e-3 not liked

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

License clarification

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.

Unable to build from source

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

dmc-cxx problems

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.

Does toolchain have its own assembler for processing .asm files?

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!

X32 unavailable

X32 DOS Extender previously available at dosextender.com is dead. Any chance to mirror it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.