Sign inSign up

dlanguage/ldc

By dlanguage

•Updated over 8 years ago

LDC - LLVM D Compiler

Image
6

50K+

dlanguage/ldc repository overview

Docker pulls Docker Build Latest Tag

⁠docker-ldc

Docker Image for LLVM-based D⁠ Compiler.

⁠Motivation

Installation of a compiler sometimes is cumbersome. This Docker image should take this pain and allow you to easily switch between Versions of the same compiler and even different compilers.

In case a native installation is required, curl -fsS https://dlang.org/install.sh | bash -s ldc could be used.

⁠Other Compilers

Allows to use all major D Compilers without installation.

CompilerLatest Tag
DMDLatest Tag
LDCLatest Tag
GDCLatest Tag

⁠Usage

Place a test.d in your current directory. Then execute

docker run --rm -ti -v $(pwd):/src dlanguage/ldc ldc2 test.d

Tag summary

Content type

Image

Digest

Size

303.7 MB

Last updated

over 8 years ago

docker pull dlanguage/ldc