Date: Thu, 21 Dec 2000 18:13:25 +0200 (WET) From: Andris Pavenis To: Eli Zaretskii Cc: Alexander Aganichev , djgpp AT delorie DOT com Subject: Re: STL class string doesn't work on 80386 CPU even -m386 given In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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.