Skip to content

lindt/docker-gdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker pulls Docker Build Latest Tag

docker-gdc

Docker Image for GCC-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 gdc could be used.

Other Compilers

Allows to use all major D Compilers without installation.

Compiler Latest Tag
DMD Latest Tag
LDC Latest Tag
GDC Latest Tag

Usage

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

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