X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Mon, 02 Feb 2009 21:16:09 +0200 From: Eli Zaretskii Subject: Re: djgpp on 386 In-reply-to: <86689.39265.qm@web31901.mail.mud.yahoo.com> X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp AT delorie DOT com Message-id: References: <86689 DOT 39265 DOT qm AT web31901 DOT mail DOT mud DOT yahoo DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Mon, 2 Feb 2009 02:01:27 -0800 (PST) > From: Levent Yavas > > 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.