X-Authentication-Warning: smtp3.ihug.com.au: Host p68-tnt1.syd.ihug.com.au [203.173.128.68] claimed to be acceleron Message-ID: <005f01c1182e$b3bd89b0$0a02a8c0@acceleron> From: "Andrew Cottrell" To: "Eli Zaretskii" Cc: , References: Subject: Re: Make 3.791 on Windows 2000 test Date: Sun, 29 Jul 2001 23:01:46 +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 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Reply-To: djgpp-workers AT delorie DOT com > > > Note that now it's cc1 which crashes, not Make. So maybe Charles is > > > right, and Unixy sbrk is the solution. Hmm... Maybe try building GCC > > > with Unixy sbrk and se if that helps (you will have to do that for > > > both gcc.exe and cc1.exe). > > > > I seem to have missed something. I have not suceeded in building GCC with > > the crt0 startup flag set to use the Unixy sbrk. ...cut.... > > > My question is where is _CRT0_FLAG_UNIX_SBRK used in the startup code? > > It's in crt1.c. I modified crt1.c and re-built LIBC from today's CVS tarball (29th July-2001) which includes all the patches needed so far. The mod to crt1.c is src\libc\crt0\crt1.c:int _crt0_startup_flags = _CRT0_FLAG_UNIX_SBRK; This did not make any difference in repect that make still crashed in the same place with the same call stack and info. I am still confused with the usage of UNIX Sbrk as I cannot find any reference to it in the code. I grepped again (this stime all of the DJGPP directory & below) and could still not see where the CRT0_FLAG_UNIX_SBRK flag is used. I checked out crt1.c and couldn't see any reference to it.