delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/11/24/04:31:12

X-Authentication-Warning: ieva01.lanet.lv: pavenis owned process doing -bs
Date: Tue, 24 Nov 1998 11:21:47 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp-workers AT delorie DOT com
Subject: Re: egcs
In-Reply-To: <Pine.SUN.3.91.981124101857.29648I-100000@is>
Message-ID: <Pine.A41.4.05.9811241058020.123410-100000@ieva01.lanet.lv>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com


On Tue, 24 Nov 1998, Eli Zaretskii wrote:

> 
> On Mon, 23 Nov 1998, Andris Pavenis wrote:
> 
> > Seems that it is no more nice to use target i386-pc-msdosdjgpp as
> > some things appears to be broken: I found situation where generated
> > code (C++) is invalid if compiler is built for target i386-pc-msdosdjgpp
> > but is Ok for i586-pc-msdosdjgpp.
> 
> What about the C code?  Is that okay for i386?

I didn't met problems with C yet. I don't think such problems are very
easy to meat and they are often. Really this is the first one I have met
(except problems with exceptions that seems to no more there with my
last DJGPP build of egcs-1.1.1-prerelease-2 for target i586-pc-msdosdjgpp)

I also tested prerelease-2 for target i386-pc-msdosdjgpp and the problem
reappeared: so it really seems to be i386 related. 

> 
> If not, it means egcs cannot be compiled with itself for DJGPP, since
> there are still many CPUs below Pentium.

I don't think there should be serious problems. I tested last 
egcs-1.1.1-prerelease-2 build for DJGPP (i586-pc-msdosdjgpp) under 
one old 386DX40 and compiled test example I used to check whether 
exceptions are working Ok and didn't met any problem. Binaries
built for targets i586-* may be slightly less efficient on i386-*
or i486-* but they still works Ok. For example latest Slackware Linux
distribution contains egcs-1.0.3 that is built for i586-pc-linux-gnulibc1
but it is still usable with i386 or i486. Also DJ (and also I) is using
target i586-pc-msdosdjgpp for cross-building djlsr202 and the results
are still usable on i386 or i486.

So I think the only thing to build egcs for target i586-pc-msdosdjgpp
on i386 is to override target and host when running configure.
We need to do this even on Pentium as system is atherwise detected as 
i386-pc-msdosdjgpp. I don't expect any more serious problems.  

> 
> I hope somebody in the egcs team is working on these bugs.
> 
I submitted bug report to egcs-bugs AT cygnus DOT com. Preprocessed source
is rather large so this is not apropriate place where to post it.

Andris


- Raw text -


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