使用gcc / gdb设置Emacs的初学者指南? [英] Beginners' guide for setting up Emacs with gcc/gdb?
本文介绍了使用gcc / gdb设置Emacs的初学者指南?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有人知道一个很好的教程来设置emacs,基本上把它变成一个IDE?我正在寻找与gcc / gdb / make等的接口。
解决方案
像其他答案一样, Mx编译
, Mx gdb
会让你走。在调试的时候,我还会建议 gdb-many-windows-mode
,这样Emacs在调试时看起来更接近于IDE。
除此之外,要更接近类似IDE的功能,您可以查看:
- CEDET http://cedet.sourceforge.net/ 代码完成和项目支持。 http://xtalk.msk.su/~的优秀教程ott / en / writings / emacs-devenv / EmacsCedet.html 。
- 如果您不介意使用非免费软件,Xrefactory( http://www.xref.sk/xrefactory/main.html )可能是最好的(嗯,唯一的)重构工具C版本是免费的,C ++不是。
I looked around the GNU emacs material and didn't find anything helpful.
Does anyone know of a good tutorial for setting up emacs, to basically turn it into an IDE? I'm looking for interfacing with gcc/gdb/make, etc...
解决方案
Like other answers mentioned, M-x compile
, M-x gdb
will get you going. While debugging, I'd also suggest gdb-many-windows-mode
, which makes Emacs look a bit closer to IDE when debugging.
Besides that and to get closer to "IDE-like features", you can look at:
- CEDET http://cedet.sourceforge.net/ for code completion and project support. Excellent tutorial at http://xtalk.msk.su/~ott/en/writings/emacs-devenv/EmacsCedet.html .
- If you don't mind using non-free software, Xrefactory (http://www.xref.sk/xrefactory/main.html) is probably the best (well, the only) refactoring tool. The C version is free, the C++ is not.
这篇关于使用gcc / gdb设置Emacs的初学者指南?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文