Skip to content
Advertisement

C++/Assembly IDE on Linux [closed]

What I’m looking for is an IDE that will run on Linux, that has support for C++ and x86 assembly syntax highlighting. I’ve already tried Code::Blocks, but that won’t let me run the program as I need to, so that didn’t work well.

My needs:

  • Able to compile programs by issuing a “make all” in a certain directory
  • Able to run programs by issuing a custom command instead of running a certain executable
  • Graphical (not vim/emacs/etc) and will run in GNOME/Fedora 14

What would be very helpful:

  • Git integration
  • Autoversioning (like Code::Blocks does)

Eclipse doesn’t work for me, as it no matter what I set it tries to do an auto-build/error check of the entire program, using the wrong toolchain, and errors out everything, even if I disable CDT.

Assembly syntax highlighting is not a requirement but would be useful. It does, however, have to have C++ syntax highlighting.

EDIT: By “Graphical” I mean that I already tried vim/emacs some time ago, and found them too challenging to learn how to use in a short amount of time without loosing my sanity.

EDIT 2: The given editor should also store project files in just one file, as I don’t want to have to “git add” a whole new directory each time the editor silently adds some file there.

Advertisement

Answer

Vim

Be sure to look at

Simply the best editor and will work anywhere – including in your remote terminal under screen πŸ™‚

Eclipse CDT

Eclipse can import existing makefile projects and will not clobber the makefile πŸ™‚ Eclipses intellisense is nice

I use Eclipse HELIOS on linux. It supports

  • profiling,
  • memchecking with valgrind
  • GDB debugging, remote debugging
  • call graph visualization, comprehensive symbol XRef (the usual eclipse shortcuts apply), simple refactorings
  • coverage GCov
  • oprofile

It should be portable so I expect most of this to work on windows.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement