delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/21/11:22:39

Date: Thu, 21 Dec 2000 18:13:25 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Cc: Alexander Aganichev <AAganichev AT netscape DOT net>, djgpp AT delorie DOT com
Subject: Re: STL class string doesn't work on 80386 CPU even -m386 given
In-Reply-To: <Pine.SUN.3.91.1001221130539.29566A-100000@is>
Message-ID: <Pine.A41.4.05.10012211810580.94686-100000@ieva06.lanet.lv>
MIME-Version: 1.0
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


On Thu, 21 Dec 2000, Eli Zaretskii wrote:

> 
> On Thu, 21 Dec 2000, Alexander Aganichev wrote:
> 
> > It seems like gcc 2.95 have incorrect specs which defines __i586__ when -m386 
> > switch passed to compiler. The result is that basic_string::release compiled 
> > with inline assembler instruction "lock xadd %eax,(%edx)". This is definetly 
> > incompatible with 80386.
> 
> Does it help to use -march=i386?
> 

This was discussed earlier. 

If it's really gcc-2.95 (not gcc-2.95.2) then upgrade. This should
fix this problem.

 

- Raw text -


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