delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/02/09:19:52

Date: Thu, 2 Nov 2000 16:17:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Rudolf Polzer <rpolzer AT web DOT de>
cc: djgpp AT delorie DOT com
Subject: Re: Internal compiler error - not covered by the FAQ
In-Reply-To: <8trnmh$u7c$1@nnrp1.deja.com>
Message-ID: <Pine.SUN.3.91.1001102161207.26789D-100000@is>
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, 2 Nov 2000, Rudolf Polzer wrote:

> > >  #include <crt0.h>
> > >  int _crt0_startup_flags = _CRT0_FLAG_UNIX_SBRK;
> > >
> > >But I do not have the djgpp source to change this!
> >
> > 1. This goes in _your_ source.
> Does it affect compilation?

No, it doesn't.  If you want the compiler to use the Unixy sbrk 
algorithm, you need to rebuild the compiler

Alternatively, you could edit the compiler's binary with a hex editor
and change the contents of the address where __crt0_startup_flags is 
stored.  But that requires that someone who built GCC tells you what that 
address is.

- Raw text -


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