GPP Compiler
GPP Compiler
gpp-compiler
Compile and run C and C++ within Atom
#compile #c++ #c #g++ #gcc
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.
/usr/bin/gcc
/usr/bin/g++
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`
https://atom.io/packages/gpp-compiler 2/2