Mail Archives: djgpp/1998/02/20/17:01:46
On Wed, 18 Feb 1998 23:03:54, chris doty <orz AT wpi DOT edu> wrote:
> Using DJGPP (with RHIDE)to write c I don't get any problems, but when I
> try to do c++ lots of strange things start happening.
> When single-stepping through my program, I can step into outportb. This
> brings my cursor to some point in the middle of some routine of mine
> where it steps through a few lines, then jumps back. Neither where it
> jumps to nor where it jumps back are on any curly braces. Further-more,
> where it crashes depends upon which variables I'm watching.
> I have reproduced the stepping into outportb on another machine, but
> haven't gotten around to checking if the crashes at different points
> also happens on other machines. I find that errors of this sort
> consistently plague all c++ code I write on my machine.
> Am I doing something wrong? Is djgpp or rhide buggy? Help!
> -chris dh
I found (the hard way) that DJGPP comes with GCC 2.7.2.1 which is
VERY outdated... DJGPP does C, GCC does C++.. However, GCC is buggy
(and RHIDE has problems with some C++ code as well.) I am currently
using PGCC which has been released for DOS and runs MUCH nicer than
the GCC version provided with DJGPP.. Also, I find that GCC
development is way too slow so I decided to write my own String, File,
LList libraries. If you are interested in help or have any more
questions, feel free to contact me.
Gili
- Raw text -