0% found this document useful (0 votes)
471 views

GPP Compiler

This Atom package allows users to compile and run C and C++ code directly within the Atom text editor. It provides commands to compile code with or without a debugger attached. The package relies on having a C/C++ compiler like GCC installed. It provides instructions for installing GCC and its dependencies on Linux, Windows, and Mac operating systems. The document also provides instructions for contributing to the project through forking it on GitHub and submitting pull requests.

Uploaded by

Nishant Keswani
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
471 views

GPP Compiler

This Atom package allows users to compile and run C and C++ code directly within the Atom text editor. It provides commands to compile code with or without a debugger attached. The package relies on having a C/C++ compiler like GCC installed. It provides instructions for installing GCC and its dependencies on Linux, Windows, and Mac operating systems. The document also provides instructions for contributing to the project through forking it on GitHub and submitting pull requests.

Uploaded by

Nishant Keswani
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

25/08/2017 gpp-compiler

Packages Themes Documentation Blog Discuss Sign in

gpp-compiler
Compile and run C and C++ within Atom
#compile #c++ #c #g++ #gcc

kriscross07 3.0.7 84,001 52

Repo Bugs Versions License

Flag as spam or malicious

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 le in tree view and click Compile and Run.

To compile C or C++ and attach the GNU Debugger, press F6 or right click the le 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 nd 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
#tostart,youmustforkthisproject
gitclonehttps://github.com/<yourusername>/atom-gpp-compiler.git
cdatom-gpp-compiler
rm-rf~/.atom/packages/gpp-compiler
npminstall#thiswillinstalldeveloperdependencies(eslint)
apmlink#thiswillcreateasymboliclinkfromthisdirectoryto~/.atom/packages
gitcheckout-bmy-changes#thiswillcreateanewbranch,change`my-changes`tosomethingelse
#makeyourchanges
npmtest#thiswilleslint`index.js`,ifthisgivesyouanyerrors,fixthem
#testyourchangesinAtom,becauseyouran`apmlink`,thispackagewillautomaticallyload

https://atom.io/packages/gpp-compiler 1/2
25/08/2017 gpp-compiler
gitadd.
gitcommit-m"addedafeature"
gitpush
#gotohttps://github.com/<yourusername>/atom-gpp-compiler.gitandclick`CreatePullRequest`

Terms of Use Privacy Code of Conduct Releases FAQ Contact with by

https://atom.io/packages/gpp-compiler 2/2

You might also like