Вы находитесь на странице: 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