Mail Archives: djgpp/2000/11/02/09:19:52
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 -