Import lang/dmd, the reference compiler for the D programming language.

ok gkoehler@

DMD is the reference compiler for the D programming language.
D is a general-purpose programming language with static typing,
systems-level access, and C-like syntax.

This package contains the following:
* dmd: the D compiler
* libphobos2.a: the D standard library (with headers)
This commit is contained in:
bcallah 2021-10-13 04:38:50 +00:00
parent 9e22beac91
commit c7cd68b4c2
15 changed files with 1375 additions and 0 deletions

71
lang/dmd/Makefile Normal file
View File

@ -0,0 +1,71 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/10/13 04:38:50 bcallah Exp $
# Possibly i386 one day, too
ONLY_FOR_ARCHS = amd64
V = 2.098.0
COMMENT = reference compiler for the D programming language
DISTFILES = dmd-${V}.tar.gz \
dmd-${V}-bootstrap.tar.gz \
druntime-${V}.tar.gz \
phobos-${V}.tar.gz
PKGNAME = dmd-${V}
CATEGORIES = lang
HOMEPAGE = https://dlang.org/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# Boost Software License 1.0
PERMIT_PACKAGE = Yes
WANTLIB += c c++abi execinfo m pthread
MASTER_SITES = https://github.com/ibara/dmd/releases/download/bootstrap-${V}/
USE_GMAKE = Yes
MAKE_ENV = HOST_CXX="${CXX}" \
HOST_DMD="${WRKDIR}/dmd-${V}-bootstrap/openbsd/bin64/dmd"
MAKE_FILE = posix.mak
NO_TEST = Yes
# Fix up the build system.
do-gen:
sed -i "s,TOPDIR,${WRKDIR},g" \
${WRKDIR}/druntime-${V}/posix.mak \
${WRKDIR}/phobos-${V}/posix.mak
# We need to do this manually.
# Yes, this is all really correct.
do-build:
cd ${WRKDIR}/phobos-${V} && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -f ${MAKE_FILE} && \
${SETENV} ${MAKE_PROGRAM} -f ${MAKE_FILE} install
cd ${WRKDIR}/druntime-${V} && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} -f ${MAKE_FILE} && \
${SETENV} ${MAKE_PROGRAM} -f ${MAKE_FILE} install
mkdir ${WRKDIR}/install/openbsd/bin64
cp ${WRKDIR}/dmd-${V}/generated/openbsd/release/64/dmd \
${WRKDIR}/install/openbsd/bin64
# We need to do this manually too.
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/install/openbsd/bin64/dmd \
${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/install/openbsd/lib64/libphobos2.a \
${PREFIX}/lib
${INSTALL_MAN} ${WRKDIR}/dmd-${V}/dmd.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKDIR}/dmd-${V}/docs/man/man5/dmd.conf.5 \
${PREFIX}/man/man5
${INSTALL_DATA_DIR} ${PREFIX}/include/dmd
cp -R ${WRKDIR}/install/src/{druntime,phobos} ${PREFIX}/include/dmd
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dmd
${INSTALL_DATA} ${WRKDIR}/install/phobos-LICENSE.txt \
${PREFIX}/share/doc/dmd/LICENSE.txt
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dmd
cp -R ${WRKDIR}/dmd-${V}/samples/* ${PREFIX}/share/examples/dmd
${INSTALL_DATA_DIR} ${PREFIX}/share/dmd
${SUBST_CMD} -c -m 444 ${FILESDIR}/dmd.conf \
${PREFIX}/share/dmd/dmd.conf
.include <bsd.port.mk>

8
lang/dmd/distinfo Normal file
View File

@ -0,0 +1,8 @@
SHA256 (dmd-2.098.0-bootstrap.tar.gz) = oavpukXfjgM6sXfaQG5GFT6cXRbpLgkhGWjw6t0/aXc=
SHA256 (dmd-2.098.0.tar.gz) = PcjGCztmfGCUtJselt3795Di9Sy43P6wBaSamM8haqY=
SHA256 (druntime-2.098.0.tar.gz) = 427NFmgYFramws7kWk/+HRWf0HUCSeGsOB7epahEx6I=
SHA256 (phobos-2.098.0.tar.gz) = S/fIj+0Uh1VRVpeTErcblgnpHdO4eIBNcVkkKW4NWbo=
SIZE (dmd-2.098.0-bootstrap.tar.gz) = 11147521
SIZE (dmd-2.098.0.tar.gz) = 3759833
SIZE (druntime-2.098.0.tar.gz) = 1864644
SIZE (phobos-2.098.0.tar.gz) = 2444864

5
lang/dmd/files/dmd.conf Normal file
View File

@ -0,0 +1,5 @@
[Environment32]
DFLAGS=-I${TRUEPREFIX}/include/dmd/phobos -I${TRUEPREFIX}/include/dmd/druntime/import -L-L/usr/lib -L-L${TRUEPREFIX}/lib -L--export-dynamic -fPIC
[Environment64]
DFLAGS=-I${TRUEPREFIX}/include/dmd/phobos -I${TRUEPREFIX}/include/dmd/druntime/import -L-L/usr/lib -L-L${TRUEPREFIX}/lib -L--export-dynamic -fPIC

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-dmd-2_098_0-bootstrap_openbsd_bin64_dmd_conf,v 1.1.1.1 2021/10/13 04:38:52 bcallah Exp $
Use the bootstrap libphobos2.a when linking the initially built dmd.
Index: dmd-2.098.0-bootstrap/openbsd/bin64/dmd.conf
--- dmd-2.098.0-bootstrap/openbsd/bin64/dmd.conf.orig
+++ dmd-2.098.0-bootstrap/openbsd/bin64/dmd.conf
@@ -2,4 +2,4 @@
DFLAGS=-I/usr/local/include/dmd/phobos -I/usr/local/include/dmd/druntime/import -L-L/usr/lib -L-L/usr/local/lib -L--export-dynamic -fPIC
[Environment64]
-DFLAGS=-I/usr/local/include/dmd/phobos -I/usr/local/include/dmd/druntime/import -L-L/usr/lib -L-L/usr/local/lib -L--export-dynamic -fPIC
+DFLAGS=-I%@P%/../../../druntime-2.098.0/src -I%@P%/../../../phobos-2.098.0 -L-L%@P%/../../../phobos-2.098.0/generated/openbsd/release/64 -L--export-dynamic -fPIC -L-L%@P%/../../../dmd-2.098.0-bootstrap/openbsd/lib64

View File

@ -0,0 +1,271 @@
$OpenBSD: patch-dmd-2_098_0_dmd_1,v 1.1.1.1 2021/10/13 04:38:52 bcallah Exp $
Pre-gen'd manual page for dmd.1
Index: dmd-2.098.0/dmd.1
--- dmd-2.098.0/dmd.1.orig
+++ dmd-2.098.0/dmd.1
@@ -0,0 +1,263 @@
+.TH DMD 1 "2021-10-13" "The D Language Foundation" "The D Language Foundation"
+.SH NAME
+dmd \- Digital Mars D2.x Compiler
+.SH SYNOPSIS
+.B dmd \fIfiles\fR ... [ \fI-switch\fR ... ]
+.SH DESCRIPTION
+.B dmd
+Compiles source code written in the D programming language.
+.SH OPTIONS
+.IP "file, file.d, file.htm, file.html"
+D source files to compile
+.IP file.di
+D interface files
+.IP file.o
+Object files to link in
+.IP file.a
+Library files to link in
+.IP @cmdfile
+A file to read more command-line arguments from,
+which may contain # single-line comments
+.IP -allinst
+Generate code for all template instantiations
+.IP -betterC
+Omit generating some runtime information and helper functions
+.IP -boundscheck=[on|safeonly|off]
+Bounds checks on, in @safe only, or off
+.IP -c
+Compile only, do not link
+.IP -check=[assert|bounds|in|invariant|out|switch][=[on|off]]
+Enable or disable specific checks
+.IP -check=[h|help|?]
+List information on all available checks
+.IP -checkaction=[D|C|halt|context]
+Behavior on assert/boundscheck/finalswitch failure
+.IP -checkaction=[h|help|?]
+List information on all available check actions
+.IP -color
+Turn colored console output on
+.IP -color=[on|off|auto]
+Force colored console output on or off, or only when not redirected (default)
+.IP -conf=\fIfilename\fR
+Use config file at \fIfilename\fR
+.IP -cov
+Do code coverage analysis
+.IP -cov=ctfe
+Include code executed during CTFE in coverage report
+.IP -cov=\fInnn\fR
+Require at least nnn% code coverage
+.IP -D
+Generate documentation
+.IP -Dd\fIdirectory\fR
+Write documentation file to \fIdirectory\fR
+.IP -Df\fIfilename\fR
+Write documentation file to \fIfilename\fR
+.IP -d
+Silently allow deprecated features and symbols
+.IP -de
+Issue an error when deprecated features or symbols are used (halt compilation)
+.IP -dw
+Issue a message when deprecated features or symbols are used (default)
+.IP -debug
+Compile in debug code
+.IP -debug=\fIlevel\fR
+Compile in debug code <= \fIlevel\fR
+.IP -debug=\fIident\fR
+Compile in debug code identified by \fIident\fR
+.IP -debuglib=\fIname\fR
+Set symbolic debug library to \fIname\fR
+.IP -defaultlib=\fIname\fR
+Set default library to \fIname\fR
+.IP -deps
+Print module dependencies (imports/file/version/debug/lib)
+.IP -deps=\fIfilename\fR
+Write module dependencies to \fIfilename\fR (only imports)
+.IP -extern-std=\fIstandard\fR
+Set C++ name mangling compatibility with \fIstandard\fR
+.IP -extern-std=[h|help|?]
+List all supported standards
+.IP -fPIC
+Generate position independent code
+.IP -fPIE
+Generate position independent executables
+.IP -g
+Add symbolic debug info
+.IP -gdwarf=\fIversion\fR
+Add DWARF symbolic debug info
+.IP -gf
+Emit debug info for all referenced types
+.IP -gs
+Always emit stack frame
+.IP -gx
+Add stack stomp code
+.IP -H
+Generate 'header' file
+.IP -Hd=\fIdirectory\fR
+Write 'header' file to \fIdirectory\fR
+.IP -Hf=\fIfilename\fR
+Write 'header' file to \fIfilename\fR
+.IP -HC[=[silent|verbose]]
+Generate C++ 'header' file
+.IP -HC=[?|h|help]
+List available modes for C++ 'header' file generation
+.IP -HCd=\fIdirectory\fR
+Write C++ 'header' file to \fIdirectory\fR
+.IP -HCf=\fIfilename\fR
+Write C++ 'header' file to \fIfilename\fR
+.IP --help
+Print help and exit
+.IP -I=\fIdirectory\fR
+Look for imports also in \fIdirectory\fR
+.IP -i[=\fIpattern\fR]
+Include imported modules in the compilation
+.IP -ignore
+Ignore unsupported pragmas
+.IP -inline
+Do function inlining
+.IP -J=\fIdirectory\fR
+Look for string imports also in \fIdirectory\fR
+.IP -L=\fIlinkerflag\fR
+Pass \fIlinkerflag\fR to link
+.IP -lib
+Generate library rather than object files
+.IP -lowmem
+Enable garbage collection for the compiler
+.IP -m32
+Generate 32 bit code
+.IP -m64
+Generate 64 bit code
+.IP -main
+Add default main() if not present already (e.g. for unittesting)
+.IP -makedeps[=\fIfilename\fR]
+Print dependencies in Makefile compatible format to \fIfilename\fR or stdout.
+.IP -man
+Open web browser on manual page
+.IP -map
+Generate linker .map file
+.IP -mcpu=\fIid\fR
+Generate instructions for architecture identified by \fIid\fR
+.IP -mcpu=[h|help|?]
+List all architecture options
+.IP -mixin=\fIfilename\fR
+Expand and save mixins to file specified by \fIfilename\fR
+.IP -mv=\fIpackage.module\fR=<filespec>
+Use <filespec> as source file for \fIpackage.module\fR
+.IP -noboundscheck
+No array bounds checking (deprecated, use -boundscheck=off)
+.IP -O
+Optimize
+.IP -o-
+Do not write object file
+.IP -od=\fIdirectory\fR
+Write object & library files to \fIdirectory\fR
+.IP -of=\fIfilename\fR
+Name output file to \fIfilename\fR
+.IP -op
+Preserve source path for output files
+.IP -preview=\fIname\fR
+Enable an upcoming language change identified by \fIname\fR
+.IP -preview=[h|help|?]
+List all upcoming language changes
+.IP -profile
+Profile runtime performance of generated code
+.IP -profile=gc
+Profile runtime allocations
+.IP -release
+Compile release version
+.IP -revert=\fIname\fR
+Revert language change identified by \fIname\fR
+.IP -revert=[h|help|?]
+List all revertable language changes
+.IP -run \fIsrcfile\fR
+Compile, link, and run the program \fIsrcfile\fR
+.IP -shared
+Generate shared library (DLL)
+.IP -target=\fItriple\fR
+Use \fItriple\fR as <arch>-[<vendor>-]<os>[-<cenv>[-<cppenv]]
+.IP -transition=\fIname\fR
+Help with language change identified by \fIname\fR
+.IP -transition=[h|help|?]
+List all language changes
+.IP -unittest
+Compile in unit tests
+.IP -v
+Verbose
+.IP -vcolumns
+Print character (column) numbers in diagnostics
+.IP -verror-style=[digitalmars|gnu]
+Set the style for file/line number annotations on compiler messages
+.IP -verrors=\fInum\fR
+Limit the number of error messages (0 means unlimited)
+.IP -verrors=context
+Show error messages with the context of the erroring source line
+.IP -verrors=spec
+Show errors from speculative compiles such as __traits(compiles,...)
+.IP --version
+Print compiler version and exit
+.IP -version=\fIlevel\fR
+Compile in version code >= \fIlevel\fR
+.IP -version=\fIident\fR
+Compile in version code identified by \fIident\fR
+.IP -vgc
+List all gc allocations including hidden ones
+.IP -vtls
+List all variables going into thread local storage
+.IP -vtemplates=[list-instances]
+List statistics on template instantiations
+.IP -w
+Warnings as errors (compilation will halt)
+.IP -wi
+Warnings as messages (compilation will continue)
+.IP -X
+Generate JSON file
+.IP -Xf=\fIfilename\fR
+Write JSON file to \fIfilename\fR
+.IP -Xcc=\fIdriverflag\fR
+Pass \fIdriverflag\fR to linker driver (cc)
+.SH TRANSITIONS
+Language changes listed by \fB-transition=id\fR:
+.IP \fIfield\fR
+List all non-mutable fields which occupy an object instance
+.IP \fItls\fR
+List all variables going into thread local storage
+.IP \fIvmarkdown\fR
+List instances of Markdown replacements in Ddoc
+.SH LINKING
+Linking is done directly by the
+.B dmd
+compiler after a successful compile. To prevent
+.B dmd
+from running the linker, use the
+.B -c
+switch.
+.PP
+The actual linking is done by running \fBgcc\fR.
+This ensures compatibility with modules compiled with
+\fBgcc\fR.
+.SH FILES
+.I /etc/dmd.conf
+dmd will look for the initialization file
+.I dmd.conf
+in the directory \fI/etc\fR.
+If found, environment variable settings in the file will
+override any existing settings.
+.SH ENVIRONMENT
+The D compiler dmd uses the following environment
+variables:
+.IP DFLAGS 10
+The value of
+.B DFLAGS
+is treated as if it were appended on the command line to
+\fBdmd\fR.
+.SH AUTHOR
+Copyright (c) 1999-2021 by The D Language Foundation written by Walter Bright
+.SH "ONLINE DOCUMENTATION"
+.UR https://dlang.org/dmd.html
+https://dlang.org/dmd.html
+.UE
+.SH "SEE ALSO"
+.BR dmd.conf (5)
+.BR rdmd (1)
+.BR dumpobj (1)
+.BR obj2asm (1)
+.BR gcc (1)

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-dmd-2_098_0_posix_mak,v 1.1.1.1 2021/10/13 04:38:51 bcallah Exp $
Index: dmd-2.098.0/posix.mak
--- dmd-2.098.0/posix.mak.orig
+++ dmd-2.098.0/posix.mak
@@ -1,4 +1,4 @@
-INSTALL_DIR=$(PWD)/../install
+INSTALL_DIR=../install
ECTAGS_LANGS = Make,C,C++,D,Sh
ECTAGS_FILES = src/dmd/*.[chd] src/dmd/backend/*.[chd] src/dmd/root/*.[chd]

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-dmd-2_098_0_src_dmd_link_d,v 1.1.1.1 2021/10/13 04:38:52 bcallah Exp $
https://github.com/dlang/dmd/pull/13157
Index: dmd-2.098.0/src/dmd/link.d
--- dmd-2.098.0/src/dmd/link.d.orig
+++ dmd-2.098.0/src/dmd/link.d
@@ -751,6 +751,8 @@ public int runLINK()
{
// Link against -lc++abi for Unwind symbols
argv.push("-lc++abi");
+ // Links against -lexecinfo for backtrace symbols
+ argv.push("-lexecinfo");
}
if (global.params.verbose)
{

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-druntime-2_098_0_mak_COPY,v 1.1.1.1 2021/10/13 04:38:51 bcallah Exp $
Make sure these get installed.
Index: druntime-2.098.0/mak/COPY
--- druntime-2.098.0/mak/COPY.orig
+++ druntime-2.098.0/mak/COPY
@@ -258,9 +258,11 @@ COPY=\
\
$(IMPDIR)\core\sys\openbsd\dlfcn.d \
$(IMPDIR)\core\sys\openbsd\err.d \
+ $(IMPDIR)\core\sys\openbsd\execinfo.d \
$(IMPDIR)\core\sys\openbsd\stdlib.d \
$(IMPDIR)\core\sys\openbsd\string.d \
$(IMPDIR)\core\sys\openbsd\time.d \
+ $(IMPDIR)\core\sys\openbsd\unistd.d \
\
$(IMPDIR)\core\sys\openbsd\sys\cdefs.d \
$(IMPDIR)\core\sys\openbsd\sys\elf.d \

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-druntime-2_098_0_mak_SRCS,v 1.1.1.1 2021/10/13 04:38:52 bcallah Exp $
Make sure these get installed.
Index: druntime-2.098.0/mak/SRCS
--- druntime-2.098.0/mak/SRCS.orig
+++ druntime-2.098.0/mak/SRCS
@@ -259,9 +259,11 @@ SRCS=\
\
src\core\sys\openbsd\dlfcn.d \
src\core\sys\openbsd\err.d \
+ src\core\sys\openbsd\execinfo.d \
src\core\sys\openbsd\stdlib.d \
src\core\sys\openbsd\string.d \
src\core\sys\openbsd\time.d \
+ src\core\sys\openbsd\unistd.d \
\
src\core\sys\openbsd\sys\cdefs.d \
src\core\sys\openbsd\sys\elf.d \

View File

@ -0,0 +1,44 @@
$OpenBSD: patch-druntime-2_098_0_posix_mak,v 1.1.1.1 2021/10/13 04:38:52 bcallah Exp $
Index: druntime-2.098.0/posix.mak
--- druntime-2.098.0/posix.mak.orig
+++ druntime-2.098.0/posix.mak
@@ -5,7 +5,7 @@
QUIET:=
-DMD_DIR=../dmd
+DMD_DIR=TOPDIR/dmd-2.098.0
DUB=dub
TOOLS_DIR=../tools
@@ -64,11 +64,9 @@ MAKEFILE = $(firstword $(MAKEFILE_LIST))
DDOCFLAGS=-conf= -c -w -o- -Isrc -Iimport -version=CoreDdoc
# Set CFLAGS
-CFLAGS=$(MODEL_FLAG) -fPIC -DHAVE_UNISTD_H
+CFLAGS+=$(MODEL_FLAG) -fPIC -DHAVE_UNISTD_H
ifeq ($(BUILD),debug)
CFLAGS += -g
-else
- CFLAGS += -O3
endif
ifeq (solaris,$(OS))
CFLAGS+=-D_REENTRANT # for thread-safe errno
@@ -342,7 +340,7 @@ $(IMPDIR)/%.d : src/%.d
######################## Build DMD if non-existent ##############################
$(DMD):
- $(MAKE) -C $(DMD_DIR)/src -f posix.mak BUILD=$(BUILD) OS=$(OS) MODEL=$(MODEL)
+ $(MAKE) -C $(DMD_DIR) -f posix.mak BUILD=$(BUILD) OS=$(OS) MODEL=$(MODEL)
################### C/ASM Targets ############################
@@ -464,7 +462,6 @@ benchmark-compile-only: $(ROOT)/benchmark $(DMD)
DMD=$(DMD) $< --repeat=0 --dflags="$(PHOBOS_DFLAGS) -de"
#################### test for undesired white spaces ##########################
-MANIFEST = $(shell git ls-tree --name-only -r HEAD)
CWS_MAKEFILES = $(filter mak/% %.mak %/Makefile,$(MANIFEST))
NOT_MAKEFILES = $(filter-out $(CWS_MAKEFILES) src/rt/minit.obj test/%.exp,$(MANIFEST))

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-druntime-2_098_0_src_core_sys_posix_sys_mman_d,v 1.1.1.1 2021/10/13 04:38:52 bcallah Exp $
Fibers need mmap(2) MAP_STACK.
Index: druntime-2.098.0/src/core/sys/posix/sys/mman.d
--- druntime-2.098.0/src/core/sys/posix/sys/mman.d.orig
+++ druntime-2.098.0/src/core/sys/posix/sys/mman.d
@@ -460,6 +460,7 @@ else version (OpenBSD)
enum MAP_PRIVATE = 0x0002;
enum MAP_FIXED = 0x0010;
enum MAP_ANON = 0x1000;
+ enum MAP_STACK = 0x4000;
enum MAP_FAILED = cast(void*)-1;

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-druntime-2_098_0_src_core_thread_fiber_d,v 1.1.1.1 2021/10/13 04:38:52 bcallah Exp $
Fibers need mmap(2) MAP_STACK.
Index: druntime-2.098.0/src/core/thread/fiber.d
--- druntime-2.098.0/src/core/thread/fiber.d.orig
+++ druntime-2.098.0/src/core/thread/fiber.d
@@ -982,10 +982,13 @@ class Fiber (private)
// Allocate more for the memory guard
sz += guardPageSize;
+ int mmap_flags = MAP_PRIVATE | MAP_ANON;
+ version (OpenBSD)
+ mmap_flags |= MAP_STACK;
m_pmem = mmap( null,
sz,
PROT_READ | PROT_WRITE,
- MAP_PRIVATE | MAP_ANON,
+ mmap_flags,
-1,
0 );
if ( m_pmem == MAP_FAILED )

View File

@ -0,0 +1,37 @@
$OpenBSD: patch-phobos-2_098_0_posix_mak,v 1.1.1.1 2021/10/13 04:38:51 bcallah Exp $
Index: phobos-2.098.0/posix.mak
--- phobos-2.098.0/posix.mak.orig
+++ phobos-2.098.0/posix.mak
@@ -32,7 +32,7 @@ QUIET:=@
DEBUGGER=gdb
GIT_HOME=https://github.com/dlang
-DMD_DIR=../dmd
+DMD_DIR=../dmd-2.098.0
include $(DMD_DIR)/src/osmodel.mak
@@ -67,7 +67,7 @@ endif
# Configurable stuff that's rarely edited
INSTALL_DIR = ../install
-DRUNTIME_PATH = ../druntime
+DRUNTIME_PATH = ../druntime-2.098.0
DLANG_ORG_DIR = ../dlang.org
ZIPFILE = phobos.zip
ROOT_OF_THEM_ALL = generated
@@ -107,12 +107,10 @@ endif
OUTFILEFLAG = -o
NODEFAULTLIB=-defaultlib= -debuglib=
ifeq (,$(findstring win,$(OS)))
- CFLAGS=$(MODEL_FLAG) -fPIC -DHAVE_UNISTD_H
+ CFLAGS+=$(MODEL_FLAG) -fPIC -DHAVE_UNISTD_H
NODEFAULTLIB += -L-lpthread -L-lm
ifeq ($(BUILD),debug)
CFLAGS += -g
- else
- CFLAGS += -O3
endif
else
ifeq ($(OS),win32)

7
lang/dmd/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
DMD is the reference compiler for the D programming language.
D is a general-purpose programming language with static typing,
systems-level access, and C-like syntax.
This package contains the following:
* dmd: the D compiler
* libphobos2.a: the D standard library (with headers)

817
lang/dmd/pkg/PLIST Normal file
View File

@ -0,0 +1,817 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/10/13 04:38:51 bcallah Exp $
@bin bin/dmd
include/dmd/
include/dmd/druntime/
include/dmd/druntime/import/
include/dmd/druntime/import/core/
include/dmd/druntime/import/core/atomic.d
include/dmd/druntime/import/core/attribute.d
include/dmd/druntime/import/core/bitop.d
include/dmd/druntime/import/core/builtins.d
include/dmd/druntime/import/core/checkedint.d
include/dmd/druntime/import/core/cpuid.d
include/dmd/druntime/import/core/demangle.d
include/dmd/druntime/import/core/exception.d
include/dmd/druntime/import/core/gc/
include/dmd/druntime/import/core/gc/config.d
include/dmd/druntime/import/core/gc/gcinterface.d
include/dmd/druntime/import/core/gc/registry.d
include/dmd/druntime/import/core/internal/
include/dmd/druntime/import/core/internal/abort.d
include/dmd/druntime/import/core/internal/array/
include/dmd/druntime/import/core/internal/array/appending.d
include/dmd/druntime/import/core/internal/array/capacity.d
include/dmd/druntime/import/core/internal/array/casting.d
include/dmd/druntime/import/core/internal/array/comparison.d
include/dmd/druntime/import/core/internal/array/concatenation.d
include/dmd/druntime/import/core/internal/array/construction.d
include/dmd/druntime/import/core/internal/array/equality.d
include/dmd/druntime/import/core/internal/array/operations.d
include/dmd/druntime/import/core/internal/array/utils.d
include/dmd/druntime/import/core/internal/atomic.d
include/dmd/druntime/import/core/internal/attributes.d
include/dmd/druntime/import/core/internal/backtrace/
include/dmd/druntime/import/core/internal/backtrace/dwarf.d
include/dmd/druntime/import/core/internal/backtrace/elf.d
include/dmd/druntime/import/core/internal/backtrace/handler.d
include/dmd/druntime/import/core/internal/backtrace/libunwind.d
include/dmd/druntime/import/core/internal/backtrace/macho.d
include/dmd/druntime/import/core/internal/backtrace/unwind.d
include/dmd/druntime/import/core/internal/container/
include/dmd/druntime/import/core/internal/container/array.d
include/dmd/druntime/import/core/internal/container/common.d
include/dmd/druntime/import/core/internal/container/hashtab.d
include/dmd/druntime/import/core/internal/container/treap.d
include/dmd/druntime/import/core/internal/convert.d
include/dmd/druntime/import/core/internal/dassert.d
include/dmd/druntime/import/core/internal/destruction.d
include/dmd/druntime/import/core/internal/elf/
include/dmd/druntime/import/core/internal/elf/dl.d
include/dmd/druntime/import/core/internal/elf/io.d
include/dmd/druntime/import/core/internal/entrypoint.d
include/dmd/druntime/import/core/internal/execinfo.d
include/dmd/druntime/import/core/internal/gc/
include/dmd/druntime/import/core/internal/gc/bits.d
include/dmd/druntime/import/core/internal/gc/impl/
include/dmd/druntime/import/core/internal/gc/impl/conservative/
include/dmd/druntime/import/core/internal/gc/impl/conservative/gc.d
include/dmd/druntime/import/core/internal/gc/impl/manual/
include/dmd/druntime/import/core/internal/gc/impl/manual/gc.d
include/dmd/druntime/import/core/internal/gc/impl/proto/
include/dmd/druntime/import/core/internal/gc/impl/proto/gc.d
include/dmd/druntime/import/core/internal/gc/os.d
include/dmd/druntime/import/core/internal/gc/pooltable.d
include/dmd/druntime/import/core/internal/gc/proxy.d
include/dmd/druntime/import/core/internal/hash.d
include/dmd/druntime/import/core/internal/lifetime.d
include/dmd/druntime/import/core/internal/moving.d
include/dmd/druntime/import/core/internal/parseoptions.d
include/dmd/druntime/import/core/internal/postblit.d
include/dmd/druntime/import/core/internal/qsort.d
include/dmd/druntime/import/core/internal/spinlock.d
include/dmd/druntime/import/core/internal/string.d
include/dmd/druntime/import/core/internal/switch_.d
include/dmd/druntime/import/core/internal/traits.d
include/dmd/druntime/import/core/internal/utf.d
include/dmd/druntime/import/core/internal/util/
include/dmd/druntime/import/core/internal/util/array.d
include/dmd/druntime/import/core/internal/util/math.d
include/dmd/druntime/import/core/internal/vararg/
include/dmd/druntime/import/core/internal/vararg/aarch64.d
include/dmd/druntime/import/core/internal/vararg/sysv_x64.d
include/dmd/druntime/import/core/lifetime.d
include/dmd/druntime/import/core/math.d
include/dmd/druntime/import/core/memory.d
include/dmd/druntime/import/core/runtime.d
include/dmd/druntime/import/core/simd.d
include/dmd/druntime/import/core/stdc/
include/dmd/druntime/import/core/stdc/assert_.d
include/dmd/druntime/import/core/stdc/complex.d
include/dmd/druntime/import/core/stdc/config.d
include/dmd/druntime/import/core/stdc/ctype.d
include/dmd/druntime/import/core/stdc/errno.d
include/dmd/druntime/import/core/stdc/fenv.d
include/dmd/druntime/import/core/stdc/float_.d
include/dmd/druntime/import/core/stdc/inttypes.d
include/dmd/druntime/import/core/stdc/limits.d
include/dmd/druntime/import/core/stdc/locale.d
include/dmd/druntime/import/core/stdc/math.d
include/dmd/druntime/import/core/stdc/signal.d
include/dmd/druntime/import/core/stdc/stdarg.d
include/dmd/druntime/import/core/stdc/stddef.d
include/dmd/druntime/import/core/stdc/stdint.d
include/dmd/druntime/import/core/stdc/stdio.d
include/dmd/druntime/import/core/stdc/stdlib.d
include/dmd/druntime/import/core/stdc/string.d
include/dmd/druntime/import/core/stdc/tgmath.d
include/dmd/druntime/import/core/stdc/time.d
include/dmd/druntime/import/core/stdc/wchar_.d
include/dmd/druntime/import/core/stdc/wctype.d
include/dmd/druntime/import/core/stdcpp/
include/dmd/druntime/import/core/stdcpp/allocator.d
include/dmd/druntime/import/core/stdcpp/array.d
include/dmd/druntime/import/core/stdcpp/exception.d
include/dmd/druntime/import/core/stdcpp/memory.d
include/dmd/druntime/import/core/stdcpp/new_.d
include/dmd/druntime/import/core/stdcpp/string.d
include/dmd/druntime/import/core/stdcpp/string_view.d
include/dmd/druntime/import/core/stdcpp/type_traits.d
include/dmd/druntime/import/core/stdcpp/typeinfo.d
include/dmd/druntime/import/core/stdcpp/utility.d
include/dmd/druntime/import/core/stdcpp/vector.d
include/dmd/druntime/import/core/stdcpp/xutility.d
include/dmd/druntime/import/core/sync/
include/dmd/druntime/import/core/sync/barrier.di
include/dmd/druntime/import/core/sync/condition.di
include/dmd/druntime/import/core/sync/config.di
include/dmd/druntime/import/core/sync/event.d
include/dmd/druntime/import/core/sync/exception.di
include/dmd/druntime/import/core/sync/mutex.di
include/dmd/druntime/import/core/sync/rwmutex.di
include/dmd/druntime/import/core/sync/semaphore.di
include/dmd/druntime/import/core/sys/
include/dmd/druntime/import/core/sys/bionic/
include/dmd/druntime/import/core/sys/bionic/err.d
include/dmd/druntime/import/core/sys/bionic/fcntl.d
include/dmd/druntime/import/core/sys/bionic/stdlib.d
include/dmd/druntime/import/core/sys/bionic/string.d
include/dmd/druntime/import/core/sys/bionic/unistd.d
include/dmd/druntime/import/core/sys/darwin/
include/dmd/druntime/import/core/sys/darwin/crt_externs.d
include/dmd/druntime/import/core/sys/darwin/dlfcn.d
include/dmd/druntime/import/core/sys/darwin/err.d
include/dmd/druntime/import/core/sys/darwin/execinfo.d
include/dmd/druntime/import/core/sys/darwin/fcntl.d
include/dmd/druntime/import/core/sys/darwin/ifaddrs.d
include/dmd/druntime/import/core/sys/darwin/mach/
include/dmd/druntime/import/core/sys/darwin/mach/dyld.d
include/dmd/druntime/import/core/sys/darwin/mach/getsect.d
include/dmd/druntime/import/core/sys/darwin/mach/kern_return.d
include/dmd/druntime/import/core/sys/darwin/mach/loader.d
include/dmd/druntime/import/core/sys/darwin/mach/nlist.d
include/dmd/druntime/import/core/sys/darwin/mach/port.d
include/dmd/druntime/import/core/sys/darwin/mach/semaphore.d
include/dmd/druntime/import/core/sys/darwin/mach/stab.d
include/dmd/druntime/import/core/sys/darwin/mach/thread_act.d
include/dmd/druntime/import/core/sys/darwin/netinet/
include/dmd/druntime/import/core/sys/darwin/netinet/in_.d
include/dmd/druntime/import/core/sys/darwin/pthread.d
include/dmd/druntime/import/core/sys/darwin/stdlib.d
include/dmd/druntime/import/core/sys/darwin/string.d
include/dmd/druntime/import/core/sys/darwin/sys/
include/dmd/druntime/import/core/sys/darwin/sys/cdefs.d
include/dmd/druntime/import/core/sys/darwin/sys/event.d
include/dmd/druntime/import/core/sys/darwin/sys/mman.d
include/dmd/druntime/import/core/sys/darwin/sys/sysctl.d
include/dmd/druntime/import/core/sys/dragonflybsd/
include/dmd/druntime/import/core/sys/dragonflybsd/dlfcn.d
include/dmd/druntime/import/core/sys/dragonflybsd/err.d
include/dmd/druntime/import/core/sys/dragonflybsd/execinfo.d
include/dmd/druntime/import/core/sys/dragonflybsd/netinet/
include/dmd/druntime/import/core/sys/dragonflybsd/netinet/in_.d
include/dmd/druntime/import/core/sys/dragonflybsd/pthread_np.d
include/dmd/druntime/import/core/sys/dragonflybsd/stdlib.d
include/dmd/druntime/import/core/sys/dragonflybsd/string.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/
include/dmd/druntime/import/core/sys/dragonflybsd/sys/_bitset.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/_cpuset.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/cdefs.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/elf.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/elf32.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/elf64.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/elf_common.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/event.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/link_elf.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/mman.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/socket.d
include/dmd/druntime/import/core/sys/dragonflybsd/sys/sysctl.d
include/dmd/druntime/import/core/sys/dragonflybsd/time.d
include/dmd/druntime/import/core/sys/freebsd/
include/dmd/druntime/import/core/sys/freebsd/config.d
include/dmd/druntime/import/core/sys/freebsd/dlfcn.d
include/dmd/druntime/import/core/sys/freebsd/err.d
include/dmd/druntime/import/core/sys/freebsd/execinfo.d
include/dmd/druntime/import/core/sys/freebsd/netinet/
include/dmd/druntime/import/core/sys/freebsd/netinet/in_.d
include/dmd/druntime/import/core/sys/freebsd/pthread_np.d
include/dmd/druntime/import/core/sys/freebsd/stdlib.d
include/dmd/druntime/import/core/sys/freebsd/string.d
include/dmd/druntime/import/core/sys/freebsd/sys/
include/dmd/druntime/import/core/sys/freebsd/sys/_bitset.d
include/dmd/druntime/import/core/sys/freebsd/sys/_cpuset.d
include/dmd/druntime/import/core/sys/freebsd/sys/cdefs.d
include/dmd/druntime/import/core/sys/freebsd/sys/elf.d
include/dmd/druntime/import/core/sys/freebsd/sys/elf32.d
include/dmd/druntime/import/core/sys/freebsd/sys/elf64.d
include/dmd/druntime/import/core/sys/freebsd/sys/elf_common.d
include/dmd/druntime/import/core/sys/freebsd/sys/event.d
include/dmd/druntime/import/core/sys/freebsd/sys/link_elf.d
include/dmd/druntime/import/core/sys/freebsd/sys/mman.d
include/dmd/druntime/import/core/sys/freebsd/sys/mount.d
include/dmd/druntime/import/core/sys/freebsd/sys/sysctl.d
include/dmd/druntime/import/core/sys/freebsd/time.d
include/dmd/druntime/import/core/sys/freebsd/unistd.d
include/dmd/druntime/import/core/sys/linux/
include/dmd/druntime/import/core/sys/linux/config.d
include/dmd/druntime/import/core/sys/linux/dlfcn.d
include/dmd/druntime/import/core/sys/linux/elf.d
include/dmd/druntime/import/core/sys/linux/epoll.d
include/dmd/druntime/import/core/sys/linux/err.d
include/dmd/druntime/import/core/sys/linux/errno.d
include/dmd/druntime/import/core/sys/linux/execinfo.d
include/dmd/druntime/import/core/sys/linux/fcntl.d
include/dmd/druntime/import/core/sys/linux/fs.d
include/dmd/druntime/import/core/sys/linux/ifaddrs.d
include/dmd/druntime/import/core/sys/linux/io_uring.d
include/dmd/druntime/import/core/sys/linux/link.d
include/dmd/druntime/import/core/sys/linux/netinet/
include/dmd/druntime/import/core/sys/linux/netinet/in_.d
include/dmd/druntime/import/core/sys/linux/netinet/tcp.d
include/dmd/druntime/import/core/sys/linux/perf_event.d
include/dmd/druntime/import/core/sys/linux/sched.d
include/dmd/druntime/import/core/sys/linux/stdio.d
include/dmd/druntime/import/core/sys/linux/string.d
include/dmd/druntime/import/core/sys/linux/sys/
include/dmd/druntime/import/core/sys/linux/sys/auxv.d
include/dmd/druntime/import/core/sys/linux/sys/eventfd.d
include/dmd/druntime/import/core/sys/linux/sys/file.d
include/dmd/druntime/import/core/sys/linux/sys/inotify.d
include/dmd/druntime/import/core/sys/linux/sys/mman.d
include/dmd/druntime/import/core/sys/linux/sys/prctl.d
include/dmd/druntime/import/core/sys/linux/sys/signalfd.d
include/dmd/druntime/import/core/sys/linux/sys/socket.d
include/dmd/druntime/import/core/sys/linux/sys/sysinfo.d
include/dmd/druntime/import/core/sys/linux/sys/time.d
include/dmd/druntime/import/core/sys/linux/sys/xattr.d
include/dmd/druntime/import/core/sys/linux/termios.d
include/dmd/druntime/import/core/sys/linux/time.d
include/dmd/druntime/import/core/sys/linux/timerfd.d
include/dmd/druntime/import/core/sys/linux/tipc.d
include/dmd/druntime/import/core/sys/linux/unistd.d
include/dmd/druntime/import/core/sys/netbsd/
include/dmd/druntime/import/core/sys/netbsd/dlfcn.d
include/dmd/druntime/import/core/sys/netbsd/err.d
include/dmd/druntime/import/core/sys/netbsd/execinfo.d
include/dmd/druntime/import/core/sys/netbsd/stdlib.d
include/dmd/druntime/import/core/sys/netbsd/string.d
include/dmd/druntime/import/core/sys/netbsd/sys/
include/dmd/druntime/import/core/sys/netbsd/sys/elf.d
include/dmd/druntime/import/core/sys/netbsd/sys/elf32.d
include/dmd/druntime/import/core/sys/netbsd/sys/elf64.d
include/dmd/druntime/import/core/sys/netbsd/sys/elf_common.d
include/dmd/druntime/import/core/sys/netbsd/sys/event.d
include/dmd/druntime/import/core/sys/netbsd/sys/featuretest.d
include/dmd/druntime/import/core/sys/netbsd/sys/link_elf.d
include/dmd/druntime/import/core/sys/netbsd/sys/mman.d
include/dmd/druntime/import/core/sys/netbsd/sys/sysctl.d
include/dmd/druntime/import/core/sys/netbsd/time.d
include/dmd/druntime/import/core/sys/openbsd/
include/dmd/druntime/import/core/sys/openbsd/dlfcn.d
include/dmd/druntime/import/core/sys/openbsd/err.d
include/dmd/druntime/import/core/sys/openbsd/execinfo.d
include/dmd/druntime/import/core/sys/openbsd/stdlib.d
include/dmd/druntime/import/core/sys/openbsd/string.d
include/dmd/druntime/import/core/sys/openbsd/sys/
include/dmd/druntime/import/core/sys/openbsd/sys/cdefs.d
include/dmd/druntime/import/core/sys/openbsd/sys/elf.d
include/dmd/druntime/import/core/sys/openbsd/sys/elf32.d
include/dmd/druntime/import/core/sys/openbsd/sys/elf64.d
include/dmd/druntime/import/core/sys/openbsd/sys/elf_common.d
include/dmd/druntime/import/core/sys/openbsd/sys/link_elf.d
include/dmd/druntime/import/core/sys/openbsd/sys/mman.d
include/dmd/druntime/import/core/sys/openbsd/sys/sysctl.d
include/dmd/druntime/import/core/sys/openbsd/time.d
include/dmd/druntime/import/core/sys/openbsd/unistd.d
include/dmd/druntime/import/core/sys/posix/
include/dmd/druntime/import/core/sys/posix/aio.d
include/dmd/druntime/import/core/sys/posix/arpa/
include/dmd/druntime/import/core/sys/posix/arpa/inet.d
include/dmd/druntime/import/core/sys/posix/config.d
include/dmd/druntime/import/core/sys/posix/dirent.d
include/dmd/druntime/import/core/sys/posix/dlfcn.d
include/dmd/druntime/import/core/sys/posix/fcntl.d
include/dmd/druntime/import/core/sys/posix/grp.d
include/dmd/druntime/import/core/sys/posix/iconv.d
include/dmd/druntime/import/core/sys/posix/inttypes.d
include/dmd/druntime/import/core/sys/posix/libgen.d
include/dmd/druntime/import/core/sys/posix/locale.d
include/dmd/druntime/import/core/sys/posix/mqueue.d
include/dmd/druntime/import/core/sys/posix/net/
include/dmd/druntime/import/core/sys/posix/net/if_.d
include/dmd/druntime/import/core/sys/posix/netdb.d
include/dmd/druntime/import/core/sys/posix/netinet/
include/dmd/druntime/import/core/sys/posix/netinet/in_.d
include/dmd/druntime/import/core/sys/posix/netinet/tcp.d
include/dmd/druntime/import/core/sys/posix/poll.d
include/dmd/druntime/import/core/sys/posix/pthread.d
include/dmd/druntime/import/core/sys/posix/pwd.d
include/dmd/druntime/import/core/sys/posix/sched.d
include/dmd/druntime/import/core/sys/posix/semaphore.d
include/dmd/druntime/import/core/sys/posix/setjmp.d
include/dmd/druntime/import/core/sys/posix/signal.d
include/dmd/druntime/import/core/sys/posix/spawn.d
include/dmd/druntime/import/core/sys/posix/stdc/
include/dmd/druntime/import/core/sys/posix/stdc/time.d
include/dmd/druntime/import/core/sys/posix/stdio.d
include/dmd/druntime/import/core/sys/posix/stdlib.d
include/dmd/druntime/import/core/sys/posix/string.d
include/dmd/druntime/import/core/sys/posix/strings.d
include/dmd/druntime/import/core/sys/posix/sys/
include/dmd/druntime/import/core/sys/posix/sys/filio.d
include/dmd/druntime/import/core/sys/posix/sys/ioccom.d
include/dmd/druntime/import/core/sys/posix/sys/ioctl.d
include/dmd/druntime/import/core/sys/posix/sys/ipc.d
include/dmd/druntime/import/core/sys/posix/sys/mman.d
include/dmd/druntime/import/core/sys/posix/sys/msg.d
include/dmd/druntime/import/core/sys/posix/sys/resource.d
include/dmd/druntime/import/core/sys/posix/sys/select.d
include/dmd/druntime/import/core/sys/posix/sys/shm.d
include/dmd/druntime/import/core/sys/posix/sys/socket.d
include/dmd/druntime/import/core/sys/posix/sys/stat.d
include/dmd/druntime/import/core/sys/posix/sys/statvfs.d
include/dmd/druntime/import/core/sys/posix/sys/time.d
include/dmd/druntime/import/core/sys/posix/sys/ttycom.d
include/dmd/druntime/import/core/sys/posix/sys/types.d
include/dmd/druntime/import/core/sys/posix/sys/uio.d
include/dmd/druntime/import/core/sys/posix/sys/un.d
include/dmd/druntime/import/core/sys/posix/sys/utsname.d
include/dmd/druntime/import/core/sys/posix/sys/wait.d
include/dmd/druntime/import/core/sys/posix/syslog.d
include/dmd/druntime/import/core/sys/posix/termios.d
include/dmd/druntime/import/core/sys/posix/time.d
include/dmd/druntime/import/core/sys/posix/ucontext.d
include/dmd/druntime/import/core/sys/posix/unistd.d
include/dmd/druntime/import/core/sys/posix/utime.d
include/dmd/druntime/import/core/sys/solaris/
include/dmd/druntime/import/core/sys/solaris/dlfcn.d
include/dmd/druntime/import/core/sys/solaris/elf.d
include/dmd/druntime/import/core/sys/solaris/err.d
include/dmd/druntime/import/core/sys/solaris/execinfo.d
include/dmd/druntime/import/core/sys/solaris/libelf.d
include/dmd/druntime/import/core/sys/solaris/link.d
include/dmd/druntime/import/core/sys/solaris/stdlib.d
include/dmd/druntime/import/core/sys/solaris/sys/
include/dmd/druntime/import/core/sys/solaris/sys/elf.d
include/dmd/druntime/import/core/sys/solaris/sys/elf_386.d
include/dmd/druntime/import/core/sys/solaris/sys/elf_SPARC.d
include/dmd/druntime/import/core/sys/solaris/sys/elf_amd64.d
include/dmd/druntime/import/core/sys/solaris/sys/elf_notes.d
include/dmd/druntime/import/core/sys/solaris/sys/elftypes.d
include/dmd/druntime/import/core/sys/solaris/sys/link.d
include/dmd/druntime/import/core/sys/solaris/sys/priocntl.d
include/dmd/druntime/import/core/sys/solaris/sys/procset.d
include/dmd/druntime/import/core/sys/solaris/sys/types.d
include/dmd/druntime/import/core/sys/solaris/time.d
include/dmd/druntime/import/core/sys/windows/
include/dmd/druntime/import/core/sys/windows/accctrl.d
include/dmd/druntime/import/core/sys/windows/aclapi.d
include/dmd/druntime/import/core/sys/windows/aclui.d
include/dmd/druntime/import/core/sys/windows/basetsd.d
include/dmd/druntime/import/core/sys/windows/basetyps.d
include/dmd/druntime/import/core/sys/windows/cderr.d
include/dmd/druntime/import/core/sys/windows/cguid.d
include/dmd/druntime/import/core/sys/windows/com.d
include/dmd/druntime/import/core/sys/windows/comcat.d
include/dmd/druntime/import/core/sys/windows/commctrl.d
include/dmd/druntime/import/core/sys/windows/commdlg.d
include/dmd/druntime/import/core/sys/windows/core.d
include/dmd/druntime/import/core/sys/windows/cpl.d
include/dmd/druntime/import/core/sys/windows/cplext.d
include/dmd/druntime/import/core/sys/windows/custcntl.d
include/dmd/druntime/import/core/sys/windows/dbghelp.d
include/dmd/druntime/import/core/sys/windows/dbghelp_types.d
include/dmd/druntime/import/core/sys/windows/dbt.d
include/dmd/druntime/import/core/sys/windows/dde.d
include/dmd/druntime/import/core/sys/windows/ddeml.d
include/dmd/druntime/import/core/sys/windows/dhcpcsdk.d
include/dmd/druntime/import/core/sys/windows/dlgs.d
include/dmd/druntime/import/core/sys/windows/dll.d
include/dmd/druntime/import/core/sys/windows/docobj.d
include/dmd/druntime/import/core/sys/windows/errorrep.d
include/dmd/druntime/import/core/sys/windows/exdisp.d
include/dmd/druntime/import/core/sys/windows/exdispid.d
include/dmd/druntime/import/core/sys/windows/httpext.d
include/dmd/druntime/import/core/sys/windows/idispids.d
include/dmd/druntime/import/core/sys/windows/imagehlp.d
include/dmd/druntime/import/core/sys/windows/imm.d
include/dmd/druntime/import/core/sys/windows/intshcut.d
include/dmd/druntime/import/core/sys/windows/ipexport.d
include/dmd/druntime/import/core/sys/windows/iphlpapi.d
include/dmd/druntime/import/core/sys/windows/ipifcons.d
include/dmd/druntime/import/core/sys/windows/iprtrmib.d
include/dmd/druntime/import/core/sys/windows/iptypes.d
include/dmd/druntime/import/core/sys/windows/isguids.d
include/dmd/druntime/import/core/sys/windows/lm.d
include/dmd/druntime/import/core/sys/windows/lmaccess.d
include/dmd/druntime/import/core/sys/windows/lmalert.d
include/dmd/druntime/import/core/sys/windows/lmapibuf.d
include/dmd/druntime/import/core/sys/windows/lmat.d
include/dmd/druntime/import/core/sys/windows/lmaudit.d
include/dmd/druntime/import/core/sys/windows/lmbrowsr.d
include/dmd/druntime/import/core/sys/windows/lmchdev.d
include/dmd/druntime/import/core/sys/windows/lmconfig.d
include/dmd/druntime/import/core/sys/windows/lmcons.d
include/dmd/druntime/import/core/sys/windows/lmerr.d
include/dmd/druntime/import/core/sys/windows/lmerrlog.d
include/dmd/druntime/import/core/sys/windows/lmmsg.d
include/dmd/druntime/import/core/sys/windows/lmremutl.d
include/dmd/druntime/import/core/sys/windows/lmrepl.d
include/dmd/druntime/import/core/sys/windows/lmserver.d
include/dmd/druntime/import/core/sys/windows/lmshare.d
include/dmd/druntime/import/core/sys/windows/lmsname.d
include/dmd/druntime/import/core/sys/windows/lmstats.d
include/dmd/druntime/import/core/sys/windows/lmsvc.d
include/dmd/druntime/import/core/sys/windows/lmuse.d
include/dmd/druntime/import/core/sys/windows/lmuseflg.d
include/dmd/druntime/import/core/sys/windows/lmwksta.d
include/dmd/druntime/import/core/sys/windows/lzexpand.d
include/dmd/druntime/import/core/sys/windows/mapi.d
include/dmd/druntime/import/core/sys/windows/mciavi.d
include/dmd/druntime/import/core/sys/windows/mcx.d
include/dmd/druntime/import/core/sys/windows/mgmtapi.d
include/dmd/druntime/import/core/sys/windows/mmsystem.d
include/dmd/druntime/import/core/sys/windows/msacm.d
include/dmd/druntime/import/core/sys/windows/mshtml.d
include/dmd/druntime/import/core/sys/windows/mswsock.d
include/dmd/druntime/import/core/sys/windows/nb30.d
include/dmd/druntime/import/core/sys/windows/nddeapi.d
include/dmd/druntime/import/core/sys/windows/nspapi.d
include/dmd/druntime/import/core/sys/windows/ntdef.d
include/dmd/druntime/import/core/sys/windows/ntdll.d
include/dmd/druntime/import/core/sys/windows/ntldap.d
include/dmd/druntime/import/core/sys/windows/ntsecapi.d
include/dmd/druntime/import/core/sys/windows/ntsecpkg.d
include/dmd/druntime/import/core/sys/windows/oaidl.d
include/dmd/druntime/import/core/sys/windows/objbase.d
include/dmd/druntime/import/core/sys/windows/objfwd.d
include/dmd/druntime/import/core/sys/windows/objidl.d
include/dmd/druntime/import/core/sys/windows/objsafe.d
include/dmd/druntime/import/core/sys/windows/ocidl.d
include/dmd/druntime/import/core/sys/windows/odbcinst.d
include/dmd/druntime/import/core/sys/windows/ole.d
include/dmd/druntime/import/core/sys/windows/ole2.d
include/dmd/druntime/import/core/sys/windows/ole2ver.d
include/dmd/druntime/import/core/sys/windows/oleacc.d
include/dmd/druntime/import/core/sys/windows/oleauto.d
include/dmd/druntime/import/core/sys/windows/olectl.d
include/dmd/druntime/import/core/sys/windows/olectlid.d
include/dmd/druntime/import/core/sys/windows/oledlg.d
include/dmd/druntime/import/core/sys/windows/oleidl.d
include/dmd/druntime/import/core/sys/windows/pbt.d
include/dmd/druntime/import/core/sys/windows/powrprof.d
include/dmd/druntime/import/core/sys/windows/prsht.d
include/dmd/druntime/import/core/sys/windows/psapi.d
include/dmd/druntime/import/core/sys/windows/rapi.d
include/dmd/druntime/import/core/sys/windows/ras.d
include/dmd/druntime/import/core/sys/windows/rasdlg.d
include/dmd/druntime/import/core/sys/windows/raserror.d
include/dmd/druntime/import/core/sys/windows/rassapi.d
include/dmd/druntime/import/core/sys/windows/reason.d
include/dmd/druntime/import/core/sys/windows/regstr.d
include/dmd/druntime/import/core/sys/windows/richedit.d
include/dmd/druntime/import/core/sys/windows/richole.d
include/dmd/druntime/import/core/sys/windows/rpc.d
include/dmd/druntime/import/core/sys/windows/rpcdce.d
include/dmd/druntime/import/core/sys/windows/rpcdce2.d
include/dmd/druntime/import/core/sys/windows/rpcdcep.d
include/dmd/druntime/import/core/sys/windows/rpcndr.d
include/dmd/druntime/import/core/sys/windows/rpcnsi.d
include/dmd/druntime/import/core/sys/windows/rpcnsip.d
include/dmd/druntime/import/core/sys/windows/rpcnterr.d
include/dmd/druntime/import/core/sys/windows/schannel.d
include/dmd/druntime/import/core/sys/windows/sdkddkver.d
include/dmd/druntime/import/core/sys/windows/secext.d
include/dmd/druntime/import/core/sys/windows/security.d
include/dmd/druntime/import/core/sys/windows/servprov.d
include/dmd/druntime/import/core/sys/windows/setupapi.d
include/dmd/druntime/import/core/sys/windows/shellapi.d
include/dmd/druntime/import/core/sys/windows/shldisp.d
include/dmd/druntime/import/core/sys/windows/shlguid.d
include/dmd/druntime/import/core/sys/windows/shlobj.d
include/dmd/druntime/import/core/sys/windows/shlwapi.d
include/dmd/druntime/import/core/sys/windows/snmp.d
include/dmd/druntime/import/core/sys/windows/sql.d
include/dmd/druntime/import/core/sys/windows/sqlext.d
include/dmd/druntime/import/core/sys/windows/sqltypes.d
include/dmd/druntime/import/core/sys/windows/sqlucode.d
include/dmd/druntime/import/core/sys/windows/sspi.d
include/dmd/druntime/import/core/sys/windows/stacktrace.d
include/dmd/druntime/import/core/sys/windows/stat.d
include/dmd/druntime/import/core/sys/windows/stdc/
include/dmd/druntime/import/core/sys/windows/stdc/malloc.d
include/dmd/druntime/import/core/sys/windows/stdc/time.d
include/dmd/druntime/import/core/sys/windows/subauth.d
include/dmd/druntime/import/core/sys/windows/threadaux.d
include/dmd/druntime/import/core/sys/windows/tlhelp32.d
include/dmd/druntime/import/core/sys/windows/tmschema.d
include/dmd/druntime/import/core/sys/windows/unknwn.d
include/dmd/druntime/import/core/sys/windows/uuid.d
include/dmd/druntime/import/core/sys/windows/vfw.d
include/dmd/druntime/import/core/sys/windows/w32api.d
include/dmd/druntime/import/core/sys/windows/winbase.d
include/dmd/druntime/import/core/sys/windows/winber.d
include/dmd/druntime/import/core/sys/windows/wincon.d
include/dmd/druntime/import/core/sys/windows/wincrypt.d
include/dmd/druntime/import/core/sys/windows/windef.d
include/dmd/druntime/import/core/sys/windows/windows.d
include/dmd/druntime/import/core/sys/windows/winerror.d
include/dmd/druntime/import/core/sys/windows/wingdi.d
include/dmd/druntime/import/core/sys/windows/winhttp.d
include/dmd/druntime/import/core/sys/windows/wininet.d
include/dmd/druntime/import/core/sys/windows/winioctl.d
include/dmd/druntime/import/core/sys/windows/winldap.d
include/dmd/druntime/import/core/sys/windows/winnetwk.d
include/dmd/druntime/import/core/sys/windows/winnls.d
include/dmd/druntime/import/core/sys/windows/winnt.d
include/dmd/druntime/import/core/sys/windows/winperf.d
include/dmd/druntime/import/core/sys/windows/winreg.d
include/dmd/druntime/import/core/sys/windows/winsock2.d
include/dmd/druntime/import/core/sys/windows/winspool.d
include/dmd/druntime/import/core/sys/windows/winsvc.d
include/dmd/druntime/import/core/sys/windows/winuser.d
include/dmd/druntime/import/core/sys/windows/winver.d
include/dmd/druntime/import/core/sys/windows/wtsapi32.d
include/dmd/druntime/import/core/sys/windows/wtypes.d
include/dmd/druntime/import/core/thread/
include/dmd/druntime/import/core/thread/context.d
include/dmd/druntime/import/core/thread/fiber.d
include/dmd/druntime/import/core/thread/osthread.d
include/dmd/druntime/import/core/thread/package.d
include/dmd/druntime/import/core/thread/threadbase.d
include/dmd/druntime/import/core/thread/threadgroup.d
include/dmd/druntime/import/core/thread/types.d
include/dmd/druntime/import/core/time.d
include/dmd/druntime/import/core/vararg.d
include/dmd/druntime/import/core/volatile.d
include/dmd/druntime/import/etc/
include/dmd/druntime/import/etc/linux/
include/dmd/druntime/import/etc/linux/memoryerror.d
include/dmd/druntime/import/object.d
include/dmd/phobos/
include/dmd/phobos/etc/
include/dmd/phobos/etc/c/
include/dmd/phobos/etc/c/curl.d
include/dmd/phobos/etc/c/odbc/
include/dmd/phobos/etc/c/odbc/sql.d
include/dmd/phobos/etc/c/odbc/sqlext.d
include/dmd/phobos/etc/c/odbc/sqltypes.d
include/dmd/phobos/etc/c/odbc/sqlucode.d
include/dmd/phobos/etc/c/sqlite3.d
include/dmd/phobos/etc/c/zlib/
include/dmd/phobos/etc/c/zlib.d
include/dmd/phobos/etc/c/zlib/ChangeLog
include/dmd/phobos/etc/c/zlib/README
include/dmd/phobos/etc/c/zlib/adler32.c
include/dmd/phobos/etc/c/zlib/algorithm.txt
include/dmd/phobos/etc/c/zlib/compress.c
include/dmd/phobos/etc/c/zlib/crc32.c
include/dmd/phobos/etc/c/zlib/crc32.h
include/dmd/phobos/etc/c/zlib/deflate.c
include/dmd/phobos/etc/c/zlib/deflate.h
include/dmd/phobos/etc/c/zlib/example.c
include/dmd/phobos/etc/c/zlib/gzclose.c
include/dmd/phobos/etc/c/zlib/gzguts.h
include/dmd/phobos/etc/c/zlib/gzlib.c
include/dmd/phobos/etc/c/zlib/gzread.c
include/dmd/phobos/etc/c/zlib/gzwrite.c
include/dmd/phobos/etc/c/zlib/infback.c
include/dmd/phobos/etc/c/zlib/inffast.c
include/dmd/phobos/etc/c/zlib/inffast.h
include/dmd/phobos/etc/c/zlib/inffixed.h
include/dmd/phobos/etc/c/zlib/inflate.c
include/dmd/phobos/etc/c/zlib/inflate.h
include/dmd/phobos/etc/c/zlib/inftrees.c
include/dmd/phobos/etc/c/zlib/inftrees.h
include/dmd/phobos/etc/c/zlib/linux.mak
include/dmd/phobos/etc/c/zlib/minigzip.c
include/dmd/phobos/etc/c/zlib/osx.mak
include/dmd/phobos/etc/c/zlib/trees.c
include/dmd/phobos/etc/c/zlib/trees.h
include/dmd/phobos/etc/c/zlib/uncompr.c
include/dmd/phobos/etc/c/zlib/win32.mak
include/dmd/phobos/etc/c/zlib/win64.mak
include/dmd/phobos/etc/c/zlib/zconf.h
include/dmd/phobos/etc/c/zlib/zlib.3
include/dmd/phobos/etc/c/zlib/zlib.h
include/dmd/phobos/etc/c/zlib/zutil.c
include/dmd/phobos/etc/c/zlib/zutil.h
include/dmd/phobos/std/
include/dmd/phobos/std/algorithm/
include/dmd/phobos/std/algorithm/comparison.d
include/dmd/phobos/std/algorithm/internal.d
include/dmd/phobos/std/algorithm/iteration.d
include/dmd/phobos/std/algorithm/mutation.d
include/dmd/phobos/std/algorithm/package.d
include/dmd/phobos/std/algorithm/searching.d
include/dmd/phobos/std/algorithm/setops.d
include/dmd/phobos/std/algorithm/sorting.d
include/dmd/phobos/std/array.d
include/dmd/phobos/std/ascii.d
include/dmd/phobos/std/base64.d
include/dmd/phobos/std/bigint.d
include/dmd/phobos/std/bitmanip.d
include/dmd/phobos/std/compiler.d
include/dmd/phobos/std/complex.d
include/dmd/phobos/std/concurrency.d
include/dmd/phobos/std/container/
include/dmd/phobos/std/container/array.d
include/dmd/phobos/std/container/binaryheap.d
include/dmd/phobos/std/container/dlist.d
include/dmd/phobos/std/container/package.d
include/dmd/phobos/std/container/rbtree.d
include/dmd/phobos/std/container/slist.d
include/dmd/phobos/std/container/util.d
include/dmd/phobos/std/conv.d
include/dmd/phobos/std/csv.d
include/dmd/phobos/std/datetime/
include/dmd/phobos/std/datetime/date.d
include/dmd/phobos/std/datetime/interval.d
include/dmd/phobos/std/datetime/package.d
include/dmd/phobos/std/datetime/stopwatch.d
include/dmd/phobos/std/datetime/systime.d
include/dmd/phobos/std/datetime/timezone.d
include/dmd/phobos/std/demangle.d
include/dmd/phobos/std/digest/
include/dmd/phobos/std/digest/crc.d
include/dmd/phobos/std/digest/digest.d
include/dmd/phobos/std/digest/hmac.d
include/dmd/phobos/std/digest/md.d
include/dmd/phobos/std/digest/murmurhash.d
include/dmd/phobos/std/digest/package.d
include/dmd/phobos/std/digest/ripemd.d
include/dmd/phobos/std/digest/sha.d
include/dmd/phobos/std/encoding.d
include/dmd/phobos/std/exception.d
include/dmd/phobos/std/experimental/
include/dmd/phobos/std/experimental/allocator/
include/dmd/phobos/std/experimental/allocator/building_blocks/
include/dmd/phobos/std/experimental/allocator/building_blocks/affix_allocator.d
include/dmd/phobos/std/experimental/allocator/building_blocks/aligned_block_list.d
include/dmd/phobos/std/experimental/allocator/building_blocks/allocator_list.d
include/dmd/phobos/std/experimental/allocator/building_blocks/ascending_page_allocator.d
include/dmd/phobos/std/experimental/allocator/building_blocks/bitmapped_block.d
include/dmd/phobos/std/experimental/allocator/building_blocks/bucketizer.d
include/dmd/phobos/std/experimental/allocator/building_blocks/fallback_allocator.d
include/dmd/phobos/std/experimental/allocator/building_blocks/free_list.d
include/dmd/phobos/std/experimental/allocator/building_blocks/free_tree.d
include/dmd/phobos/std/experimental/allocator/building_blocks/kernighan_ritchie.d
include/dmd/phobos/std/experimental/allocator/building_blocks/null_allocator.d
include/dmd/phobos/std/experimental/allocator/building_blocks/package.d
include/dmd/phobos/std/experimental/allocator/building_blocks/quantizer.d
include/dmd/phobos/std/experimental/allocator/building_blocks/region.d
include/dmd/phobos/std/experimental/allocator/building_blocks/scoped_allocator.d
include/dmd/phobos/std/experimental/allocator/building_blocks/segregator.d
include/dmd/phobos/std/experimental/allocator/building_blocks/stats_collector.d
include/dmd/phobos/std/experimental/allocator/common.d
include/dmd/phobos/std/experimental/allocator/gc_allocator.d
include/dmd/phobos/std/experimental/allocator/mallocator.d
include/dmd/phobos/std/experimental/allocator/mmap_allocator.d
include/dmd/phobos/std/experimental/allocator/package.d
include/dmd/phobos/std/experimental/allocator/showcase.d
include/dmd/phobos/std/experimental/allocator/typed.d
include/dmd/phobos/std/experimental/checkedint.d
include/dmd/phobos/std/experimental/logger/
include/dmd/phobos/std/experimental/logger/core.d
include/dmd/phobos/std/experimental/logger/filelogger.d
include/dmd/phobos/std/experimental/logger/multilogger.d
include/dmd/phobos/std/experimental/logger/nulllogger.d
include/dmd/phobos/std/experimental/logger/package.d
include/dmd/phobos/std/experimental/note.md
include/dmd/phobos/std/experimental/typecons.d
include/dmd/phobos/std/file.d
include/dmd/phobos/std/format/
include/dmd/phobos/std/format/internal/
include/dmd/phobos/std/format/internal/floats.d
include/dmd/phobos/std/format/internal/read.d
include/dmd/phobos/std/format/internal/write.d
include/dmd/phobos/std/format/package.d
include/dmd/phobos/std/format/read.d
include/dmd/phobos/std/format/spec.d
include/dmd/phobos/std/format/write.d
include/dmd/phobos/std/functional.d
include/dmd/phobos/std/getopt.d
include/dmd/phobos/std/internal/
include/dmd/phobos/std/internal/attributes.d
include/dmd/phobos/std/internal/cstring.d
include/dmd/phobos/std/internal/digest/
include/dmd/phobos/std/internal/digest/sha_SSSE3.d
include/dmd/phobos/std/internal/math/
include/dmd/phobos/std/internal/math/biguintcore.d
include/dmd/phobos/std/internal/math/biguintnoasm.d
include/dmd/phobos/std/internal/math/biguintx86.d
include/dmd/phobos/std/internal/math/errorfunction.d
include/dmd/phobos/std/internal/math/gammafunction.d
include/dmd/phobos/std/internal/memory.d
include/dmd/phobos/std/internal/scopebuffer.d
include/dmd/phobos/std/internal/test/
include/dmd/phobos/std/internal/test/dummyrange.d
include/dmd/phobos/std/internal/test/range.d
include/dmd/phobos/std/internal/test/uda.d
include/dmd/phobos/std/internal/unicode_comp.d
include/dmd/phobos/std/internal/unicode_decomp.d
include/dmd/phobos/std/internal/unicode_grapheme.d
include/dmd/phobos/std/internal/unicode_norm.d
include/dmd/phobos/std/internal/unicode_tables.d
include/dmd/phobos/std/internal/windows/
include/dmd/phobos/std/internal/windows/advapi32.d
include/dmd/phobos/std/json.d
include/dmd/phobos/std/math/
include/dmd/phobos/std/math/algebraic.d
include/dmd/phobos/std/math/constants.d
include/dmd/phobos/std/math/exponential.d
include/dmd/phobos/std/math/hardware.d
include/dmd/phobos/std/math/operations.d
include/dmd/phobos/std/math/package.d
include/dmd/phobos/std/math/remainder.d
include/dmd/phobos/std/math/rounding.d
include/dmd/phobos/std/math/traits.d
include/dmd/phobos/std/math/trigonometry.d
include/dmd/phobos/std/mathspecial.d
include/dmd/phobos/std/meta.d
include/dmd/phobos/std/mmfile.d
include/dmd/phobos/std/net/
include/dmd/phobos/std/net/curl.d
include/dmd/phobos/std/net/isemail.d
include/dmd/phobos/std/numeric.d
include/dmd/phobos/std/outbuffer.d
include/dmd/phobos/std/package.d
include/dmd/phobos/std/parallelism.d
include/dmd/phobos/std/path.d
include/dmd/phobos/std/process.d
include/dmd/phobos/std/random.d
include/dmd/phobos/std/range/
include/dmd/phobos/std/range/interfaces.d
include/dmd/phobos/std/range/package.d
include/dmd/phobos/std/range/primitives.d
include/dmd/phobos/std/regex/
include/dmd/phobos/std/regex/internal/
include/dmd/phobos/std/regex/internal/backtracking.d
include/dmd/phobos/std/regex/internal/generator.d
include/dmd/phobos/std/regex/internal/ir.d
include/dmd/phobos/std/regex/internal/kickstart.d
include/dmd/phobos/std/regex/internal/parser.d
include/dmd/phobos/std/regex/internal/tests.d
include/dmd/phobos/std/regex/internal/tests2.d
include/dmd/phobos/std/regex/internal/thompson.d
include/dmd/phobos/std/regex/package.d
include/dmd/phobos/std/signals.d
include/dmd/phobos/std/socket.d
include/dmd/phobos/std/stdint.d
include/dmd/phobos/std/stdio.d
include/dmd/phobos/std/string.d
include/dmd/phobos/std/sumtype.d
include/dmd/phobos/std/system.d
include/dmd/phobos/std/traits.d
include/dmd/phobos/std/typecons.d
include/dmd/phobos/std/typetuple.d
include/dmd/phobos/std/uni/
include/dmd/phobos/std/uni/package.d
include/dmd/phobos/std/uri.d
include/dmd/phobos/std/utf.d
include/dmd/phobos/std/uuid.d
include/dmd/phobos/std/variant.d
include/dmd/phobos/std/windows/
include/dmd/phobos/std/windows/charset.d
include/dmd/phobos/std/windows/registry.d
include/dmd/phobos/std/windows/syserror.d
include/dmd/phobos/std/xml.d
include/dmd/phobos/std/zip.d
include/dmd/phobos/std/zlib.d
@static-lib lib/libphobos2.a
@man man/man1/dmd.1
@man man/man5/dmd.conf.5
share/dmd/
share/dmd/dmd.conf
@sample ${SYSCONFDIR}/dmd.conf
share/doc/dmd/
share/doc/dmd/LICENSE.txt
share/examples/dmd/
share/examples/dmd/all.sh
share/examples/dmd/build.bat
share/examples/dmd/chello.d
share/examples/dmd/clean.bat
share/examples/dmd/d2html.d
share/examples/dmd/d2html.kwd
share/examples/dmd/dclient.d
share/examples/dmd/dhry.d
share/examples/dmd/dserver.d
share/examples/dmd/dserver.def
share/examples/dmd/dserver64.def
share/examples/dmd/hello.d
share/examples/dmd/htmlget.d
share/examples/dmd/listener.d
share/examples/dmd/mydll/
share/examples/dmd/mydll/build.bat
share/examples/dmd/mydll/dll.d
share/examples/dmd/mydll/mydll.d
share/examples/dmd/mydll/mydll.def
share/examples/dmd/mydll/mydll.di
share/examples/dmd/mydll/test.d
share/examples/dmd/pi.d
share/examples/dmd/posix.mak
share/examples/dmd/sieve.d
share/examples/dmd/wc.d
share/examples/dmd/wc2.d
share/examples/dmd/win32.mak
share/examples/dmd/winsamp.d
share/examples/dmd/winsamp.def