Sign inSign up

ericwq057/gccide

By ericwq057

•Updated over 5 years ago

Deprecated: `gccIDE` is merged to https://github.com/ericwq/nvide.

Image
0

1.2K

ericwq057/gccide repository overview

⁠gccIDE

A neovim based GCC/G++ IDE, based on alpine⁠ linux, c/c++ language server enabled, syntax highlight IDE. Just pull docker image from hub.docker.com⁠ and run it.

For me golangIDE⁠ is a good development environment for go language. I still need a c/c++ language development environment.

⁠Feature

Both GCC and CLANG is ready for use. The default compiler is GCC. Both clangd and ccls is ready. The default language server is ccls. If you prefers clangd, please refer to switch clangd⁠.

Please suggest any software which deserved to be integrated into this IDE.

⁠Quick guide

% docker pull ericwq057/gccide:latest

% docker run -it -d -h gccide  --env TZ=Asia/Shanghai  --name gcc \
  --mount source=proj-vol,target=/home/ide/proj \
  --mount type=bind,source=YOUR-SHARED-DIRECTORY,target=/home/ide/develop \
  gccide:latest

$ docker exec -u ide -it gcc bash
  • YOUR-SHARED-DIRECTORY is you local source code directory shared with native OS. E.g. "/Users/qiwang/dev".
  • You may need to create a docker volume proj-vol first:
% docker volume create proj-vol
  • proj-vol is also your source code directory, which you don't need to access from native OS. It's faster comparing with shared one.
  • Check % ls /usr/share/zoneinfo to get the TZ value for your location.

⁠Reference

⁠Notes

If you want to use docker to develop kernel module or device driver. Don't do that. Use virtualbox or vmware instead.

⁠Status

Tag summary

Content type

Image

Digest

Size

382.3 MB

Last updated

over 5 years ago

docker pull ericwq057/gccide