Coder Social home page Coder Social logo

robyte-ctrl / atom-gpp-compiler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kriscross07/atom-gpp-compiler

0.0 0.0 0.0 73 KB

An atom package that allows you to compile and run C++ and C within the editor.

Home Page: https://atom.io/packages/gpp-compiler

JavaScript 100.00%

atom-gpp-compiler's Introduction

gpp-compiler

This Atom package allows you to compile and run C++ and C within the editor.

To compile C or C++, press F5 or right click the file in tree view and click Compile and Run.

To compile C or C++ and attach the GNU Debugger, press F6 or right click the file in tree view and click Compile and Debug.

Dependencies

This package relies on a C / C++ compiler (gcc).

Linux

The GNU Compiler Collection may come with your distribution. Run which gcc g++ to find out.

If that command does not output

/usr/bin/gcc
/usr/bin/g++

you will need to install it.

For RHEL-based distros, run sudo dnf install gcc gcc-c++.

For Debian-based distros, run sudo apt install gcc g++.

For Arch-based distros, run sudo pacman -S gcc.

Windows

You'll need to install MinGW and add it to your PATH.

Mac

You'll need to install XCode.

Contributing

# to start, you must fork this project
git clone https://github.com/<your username>/atom-gpp-compiler.git
cd atom-gpp-compiler
rm -rf ~/.atom/packages/gpp-compiler
npm install # this will install developer dependencies (eslint)
apm link # this will create a symbolic link from this directory to ~/.atom/packages
git checkout -b my-changes # this will create a new branch, change `my-changes` to something else
# make your changes
npm test # this will eslint `index.js`, if this gives you any errors, fix them
# test your changes in Atom, because you ran `apm link`, this package will automatically load
git add .
git commit -m "added a feature"
git push
# go to https://github.com/<your username>/atom-gpp-compiler.git and click `Create Pull Request`

atom-gpp-compiler's People

Contributors

farnabaz avatar kriscross07 avatar linuxmercedes avatar robyte-ctrl avatar sylxjtu avatar

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.