Message-ID: <002501c313be$f46fafa0$0100a8c0@acp42g> From: "Andrew Cottrell" To: , "Andris Pavenis" Cc: "Ben Peddell" , , "Richard Dawe" References: <3e9c6920$0$21928$afc38c87@> <3EABA5AA DOT 99B8EDE3 AT phekda DOT freeserve DOT co DOT uk> <200304280954 DOT 02899 DOT pavenis AT latnet DOT lv> <3EAE2D6D DOT 5E329F3F AT phekda DOT freeserve DOT co DOT uk> Subject: Re: gcc 3.x breaks ABI compatibility? [Was: Re: Bug 00314 -- div() still broken] Date: Tue, 6 May 2003 21:01:51 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Reply-To: djgpp-workers AT delorie DOT com ..SNIP.. > > I copied it from other i386 targets. GCC-3.2.2 didn't compile without > > defining DEFAULT_PCC_STRUCT_RETURN, as there is no default > > Not all i386 targets define DEFAULT_PCC_STRUCT_RETURN to be 0. Linux and > NetBSD ELF don't. > > I think we need to use the same as the default for 2.95.x, i.e.: > > #define DEFAULT_PCC_STRUCT_RETURN 1 > > This is a pretty critical bug. Do you have any plans to rebuild gcc 3.2.2 (or > 3.2.3) with this fix? Is it as simple as changing the line in the gnu\gcc-3.22\gcc\config\i386\djgpp.h to the following and re-building GCC? And then the rest of the libs. #define DEFAULT_PCC_STRUCT_RETURN 1 Thanks, Andrew