delorie.com/archives/browse.cgi | search |
Message-ID: | <002501c313be$f46fafa0$0100a8c0@acp42g> |
From: | "Andrew Cottrell" <acottrel AT ihug DOT com DOT au> |
To: | <djgpp-workers AT delorie DOT com>, "Andris Pavenis" <pavenis AT latnet DOT lv> |
Cc: | "Ben Peddell" <killer DOT lightspeed AT bigpond DOT com>, <rudd AT cyberoptics DOT com>, |
"Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk> | |
References: | <3e9c6920$0$21928$afc38c87@> <lzLqa.23283$1s1 DOT 356122 AT newsfeeds DOT bigpond DOT com> <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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |