Mail Archives: djgpp/2009/02/02/14:16:35
> Date: Mon, 2 Feb 2009 02:01:27 -0800 (PST)
> From: Levent Yavas <mlistlev AT yahoo DOT com>
>
> I'm using djgpp (gcc 2.95.2) for quite some time on my
> old 8Mb 386dx40. I'm using it as a learning tool for
> dos programming, so, optimizations aren't required.
>
> I have to select fastest but most bugfixed version of
> djgpp program combination. gcc-2.95 series was quite
> popular at time, in spite of gcc-3.x. So, I suppose
> 2.95.3(this is latest in 2.95 isn't it?) is good
> canditate as a fast and correct compiler for 386. (If
> some older versions that are faster and
> non-problematic let me know)
I suggest GCC 2.7.2. If you don't need C++, 2.7.2 was the leanest and
meanest GCC version in the West. All the versions after that simply
got fatter and slower. And on top of that, with 2.7.2 you could debug
optimized code without any major problems, something you cannot even
dream doing with GCC 3.x. The ability to debug optimized code was at
one time one the most attractive features of GCC (without it, you need
to test your software twice, or distribute unoptimized code), but
lamentably it was sacrificed on the altar of another 5% improvement in
code speed.
> And what djgpp dev kit, binutils versions that I have
> to select? Are there any incompatibilities with
> gcc-2.95.3?
You need the version of Binutils released approximately during the
same time frame as the GCC version you will choose. Other versions of
Binutils are not 100% guaranteed to work correctly with that GCC
version.
> I suppose i can use latest versions of rhide, make and cwsdpmi.
Yes.
- Raw text -