Git Product home page Git Product logo

gfortran-gdb's Introduction

docker-gfortran-gdb

This is a docker dev container for my debugging of gfortran on an Apple silicon based Mac. gdb doesn't work reliably on Macs. Fortunately, it does on ARM based Linux.

How to use

I don't use Visual Studio or VSCode. Most of my work is done on my host and I only need to fire this up if I need to breakpoint debug. Use a bind volume to link the container to your source directory or project, rebuild your code and modules, and run with gdb.

You can safely edit the code from the container, but I only install a minimal Vim (as vi). Do the heavy editing on your host.

Build the docker image:

docker build --rm -f Dockerfile -t gfortran-gdb .

Run the image:

docker run --rm -v <source-code-root>:<mounted-as> -it gfortran-gdb

AUTHORSHIP, LICENSING, AND COPYRIGHT

Some or all of the code in this project is by Troy Brumley (BlameTroi). Prior work preserves its original licensing and author copyrights. My work is Copyright 2023 by Troy Brumley, all rights reserved, and licensed under the UNLICENSE.

Troy Brumley [email protected]

So let it be written. So let it be done.

gfortran-gdb's People

Contributors

blametroi avatar

Stargazers

Antonio Mata avatar

Watchers

 avatar  avatar

Forkers

sunt05

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.