delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/22/04:54:19

Message-ID: <B0000057263@stargate.astr.lu.lv>
From: "Andris Pavenis" <pavenis AT lanet DOT lv>
To: Adam Schrotenboer <ajschrotenboer AT lycosmail DOT com>, djgpp AT delorie DOT com
Date: Tue, 22 Dec 1998 11:53:37 +0200
MIME-Version: 1.0
Subject: Re: GNU C/C++ compiler for DOS
CC: beastium-list AT desk DOT nl
In-reply-to: <367EE410.3254D763@lycosmail.com>
X-mailer: Pegasus Mail for Win32 (v3.01d)
Reply-To: djgpp AT delorie DOT com

On 21 Dec 98, at 19:13, Adam Schrotenboer wrote:

> You can always try http://www.goof.com/pcg/
> 
> That's the Pentium Compiler Group. They produce PGCC, or Pentium GCC.
> PGCC is based on EGCS source code, so releases of PGCC generally
> coincide w/, though usually are a little behind, EGCS. Binaries seem to
> be a little hard to come by for djgpp. The newest are PGCC 1.0.1, but
> the newest source dist is 1.1.1. Compiling is somewhat difficult. I
> haven't succeeded yet. Andris Pavenis has released a binary dist of EGCS
> 1.1.1, though it's in beta, sort of. EGCS 1.1.1 is a release, but the
> DJGPP port is in beta. you can find it on the simtel.net in the djgpp/v2
> dir.
> 
> Personally, I'm still struggling to compile EGCS 1.1.1, before I'll try
> PGCC 1.1.1

egcs-1.1.1 for DJGPP is beta practically only due to problems with exceptions.
DJGPP port of gcc-2.8.1 is more stable with exceptions so we are not yet 
ready to replace it (maybe with egcs-1.1.2 if such will be released sometimes).

There were no serious problems to build pgcc-1.1.1 for DJGPP. The script I used
to modify egcs-1.1.1 sources to build them for DJGPP almost works also for PGCC
(only some small corrections needed). See gnu/egcs-1.11/contrib/egcs-patch.sh
in egcs111s.zip for details.

The problem is that at first I was not satisfied with pgcc-1.1.1 I built for DJGPP:
	-  libstdc++.a built with options '-mpentium -O6' failed tests (crashes in tests
		 for targets check-target-libio and check-target-libstdc++ but I didn't test
               further)
       -  BYTE Benchmarks compiled with same options crashes in some tests so
               I didn't suceed to do good comparisson (And I didn't want to mess 
               much about this)

As the result I'm not using pgcc-1.1.1 for DOS now.

Andris
     

> 
> I remember somebody saying that it's near to impossible unless you use a
> cross-compiler. I'd love to prove that wrong, but I haven't succeeded
> yet.
> 
> "Scott J. McCaughrin" wrote:
> 
> >  Would greatly appreciate knowing the ftp site for a GNU compiler
> >  of C or C++ into native Pentium code under DOS or Windows 95.
> >
> >  Thanks.
> 
> 


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019