GCC-based IDE's for DOS?
PM4RK5 asks: "Today in computer science 3, I was plugging away at compiling a string class in Borland C++ (version 3.x), and came across a glaring problem, in terms of compiler problems, not source problems, as I had successfully compiled the same source code earlier using GCC on Linux. Now we're looking at using DJGPP as it uses GCC/G++ and has a comparable IDE (RHIDE) to the Borland IDE, even though some features aren't available yet. However, before we use this on every computer, are there any better GCC-based IDE's and/or compilers for the DOS platform? Maybe any that support the Win32 GUI? (for those of us bold enough to try). I have to admit, I much prefer developing on a *NIX platform, but school computers are limited to Windows/DOS. Even if there aren't any better IDE's, it will still be nice to have a better compiler on hand with GCC and RHIDE. Any suggestions would be appreciated."
Dev-C++ is a nice packaging of MingW with a workable IDE. It's not exactly the best IDE I've ever used (IMHO it's a little shabby compared to the later Borland IDEs), but it's good enough for beginning programmers to cut their teeth on before they move to a Real Editor like vim or Emacs. Plus it's Free (as in speech) and free (as in beer), which is nice for an educational environment.
Shamelessly cut+pasted
;-) a whole IDE (Integrated Development Enviroment) with the same look & feel of the Borland's IDE but more powerfull ;-). It's called RHIDE. I contributed to this project with the Help classes (aka InfView, to read the Info files) and the text editor (specially designed for writing C/C++). The last stable version is 1.4.9 and is available for Linux too!.
... SET, that's: by me ;-). SETEdit is a very powerful editor with a lot of tools for programmers (is the one used by RHIDE). That's the last version publicly available. If you want to cooperate just contact me. Free, donations accepted ;-). For information and downloads visit this page. Last beta version is v0.4.49 and is a candidate to become the next stable release. A test binary for Win32 (native Win32) is available. Debian packages and test versions for Linux/PPC and Linux/SPARC are also available. We need help to fully support Solaris and FreeBSD, also to fix problems in Linux/Alpha.
Tools for programming and developing your project
Programming enviroments
Robert Höhne developed (with the colaboration of some friends
A very used enviroment in the world of Linux is the GNU Emacs. Emacs is a very huge and powerfull editor that can be customized by the user. The program is splited in various ZIP files. Now v20.5 is available for DOS.
For people that comes from UNIX there are a VI clon for DOS called VIM (http://www.primenet.com/~imbe/vim/ The link seems to be broken, if you can get it download the sources and compile it). The sources of the last beta version (5.0t that compiles with DJGPP) can be obtained here. A GUI Shell for windows is available too.
SET's editor (SETEdit) v0.4.41 by
Lemur 0.3 (alpha) by Endlisnis scanning program. It is a sLisp script for Setedit (and hence RHIDE) plus a program to look up function prototypes, structure members, etc.
FTE is a portable editor compiled with djgpp under DOS, is available for Linux, X-Windows and OS/2 too.
DFE 95 by Will Weisser is a native win32 IDE for Windows 95. Is available in Simtel too (/v2apps) but 3.4 is only in this link or try this. Free. Sources. The author abandoned the project but Exuviae announced a new GUI called DFE98 (was in http://home.sprintmail.com/~exuviae) or try here, I'm not sure if that's the continuation. Note: the version I downloaed in november 1997 wasn't very stable.
colgcc by Richard Dawe colours the output of gcc to highlight warnings and errors. Useful for command line funs. Now v1.2 available. Sources. GPL.
RSXIDE by Rainer Schnitker is a IDE for Win32 systems. It can be used for RSXNTDJ.
Personally, I like RHIDE and DFE. Haven't done any DJGPP in forever!
I can remember the days building Allegro on my Pentium 75!
------------
Oh, here's a link for a billion Windows editors:
CNET Download.com
His C++ book (which I recommend) came with a free gcc-oriented IDE called Quincy. I never tried it, not having Windows, but the screenshots look promising.
What I'm listening to now on Pandora...
Why not download the latest (free) Borland command line compiler, and use that (using makefiles if necessary). It's much more up to date than the 3.x one (obviously).
No sharp objects, I'm a programmer!
Try Source Navigator. It works on windows, and UNIX's
Emacs offers syntax highlighting, integrated debugger support, keyboard macros, next error jumping, etc.
:)
Emacs the most powerful IDE out there. It integrates real nicely with GCC. The only down side is that there isn't a GUI oriented 'project' builder but that's what Make is for
I mean, it's easier to make a Makefile containing:
SRCS=File1.c File2.c
OBJS=$(SRCS:.c=.o)
all: ProjectName
ProjectName: $(OBJS)
$(CC) -o ProjectName $(OBJS)
Than to putz around with all that silly wizard stuff. I'll never understand why programmers need GUIs to generate code to compile their code.
I gather from your responses that this is for a school, and the simple fact of the matter is that most production environments (and consequently, most programming jobs) are Unix based so learning about Makefiles and how to use Emacs has to be incredible valuable (I know I wish that the new hirers we get would have been taught this stuff in school...).
int func(int a);
func((b += 3, b));