www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/10/08/09:44:35

Message-Id: <199810081436.QAA62256@ieva06.lanet.lv>
From: "Andris Pavenis" <pavenis AT lanet DOT lv>
To: Alexander Bokovoy <bokovoy AT bspu DOT unibel DOT by>
Date: Thu, 8 Oct 1998 16:42:07 +0300
MIME-Version: 1.0
Subject: Re: Re[2]: exceptions with DJGPP port of egcs-1.1
CC: djgpp-workers AT delorie DOT com
In-reply-to: <1658.981008@bspu.unibel.by>
X-mailer: Pegasus Mail for Win32 (v3.01b)
Reply-To: djgpp-workers AT delorie DOT com

Date sent:      	Thu, 8 Oct 1998 15:47:35 +0200
From:           	Alexander Bokovoy <bokovoy AT bspu DOT unibel DOT by>
Subject:        	Re[2]: exceptions with DJGPP port of egcs-1.1

> Andris wrote:
> > I tried the same example under Linux and there were no such problem:
> >         in both situations exceptions gets catched
> > Then I did more tests with DJGPP (this time I used cross-compiler under
> > Linux: the same version egcs-1.1, and run examples under DOSEMU-0.98.1). 
> > Also trying to use files for DJGPP 2.01 didn't change anything: second 
> > exception was not catched. 
> > So looks that there are still problems with exceptions in DJGPP port
> > of egcs-1.1. 
> I know about this because Eric Nicolas who had originated SWORD
> project doing all his part of work preferably under Linux and have no
> problems with exceptions. That's why I've asked you the original
> question: has DJGPP port of EGCS 1.1 such problem or not? Now the
> answer is: yes, it has.
> 
> So,  GCC  2.8.1+BNU  2.9.1  doesn't  have  this  bug  and EGCS has it.
> Probably,  we should look what have been changed in BinUtils after BNU
> 2.8.1 have been released? Another side: did you use BNU 2.9.1 instead
> BNU 2.8.1 under Linux when achieved good results? If so, the problem
> may be in linker.
> 

I don't think binutils are guilty here. I tried gcc-2.8.1 under DJGPP 
with both binutils 2.8.1 and 2.9.1 and there were no differences as
in both variants tests were Ok. With egcs-1.1 in both variants I 
have failure I mentioned before.

Under Linux I have installed binutils-2.9.1.0.13 and tests with egcs-
1.1 worked Ok. 

I also tried compiling test example under Linux with Linux to 
DJGPP cross-compiler (also egcs-1.1 + binutils-2.9.1) and got the 
same results as with native compiler under DJGPP.

Andris

- Raw text -


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