Skip to content

cmbant/docker-gcc-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Overview

This repository has the Dockerfile for source build of gcc 7.

Currently gcc 6+ is required to run many Fortran 2003/2008 programs successfully due to bugs in earlier versions. Also includes standard openmpi and lapack libraries, plus basic build tools.

There are gcc6 and gcc8 branches for the latest stable other versions.. The devel branch has the latest master build (at time of Docker build).

Corresponding auto-build docker available at https://registry.hub.docker.com/u/cmbant/docker-gcc-build/

Usage

To make an interactive shell ready for compiling you local code at /local/code/source do

docker run -v /local/code/source:/virtual/path -i -t cmbant/docker-gcc-build /bin/bash

Navigating into /virtual/path in the bash shell, you can then run make etc as normal, acting on your local files.

About

Build latest gcc from sources on git gcc repository mirror

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published