Editplus and GCC Compiler

Stormlifter

2[H]4U
Joined
Oct 19, 2002
Messages
2,968
Is there a way to add GCC Compiler to Editplus so that it can check my synax as I'm typing? I know Editplus can do Java and other things, but could someone please link me to somewhere I can add a GCC compiler so I can check my "C" code in Editplus?

Thanks, I've looked but couldn't find, wondering if anyone uses Editplus like this that could help me...
 
Ya I've got the synax file, that's pretty decent, doesn't do as much as I'd like, but furthermore I was hoping to see something that could debbug kinda like my gcc -Wall command does and provide it to me in real time...

Thanks.
 
I'm not familiar with that program, but can't you just edit that syntax file so that it does do what you want? Well, except for giving you gcc errors/warnings. It seems like that would be quite a nightmare to do in realtime, and it doesn't seem very useful. Usually when you are in the process of writing/modifying code, it's not going to be in a state that would compile cleanly. Thus, if you were to do gcc error/warning checking in realtime, you would constantly be getting errors/warnings since the code you are working on isn't in a state in which it could compile cleanly. Additionally, you would essentially be running the first few stages of compilation on the whole file after every little change to the code, which will more than likely bog things down quite noticeably.

I probably said that in the most confusing way possible, but hopefully you can see what I'm getting at. Realtime error/warning reporting(other than syntax errors, which normal syntax highlighting should help with) just doesn't really make sense.

Or, if that program just doesn't do syntax highlighting like you'd like, emacs has wonderful c/c++ syntax highlighting. :D
 
Sounds like you want something like incremental compilation, which you probably won't find unless you want to write your own compiler tools a la the Java tools built into Eclipse.

IBM had/has an incremental C++ compiler (VisualAge C++ or something). GCC/G++ don't support such compilation schemes, nor do any of the compilers I know of (I think) (Intel C/C++, VC++, Comeau, DJPP)

(* insert recommendation for vim or scite here *)
 
Back
Top