Mail Archives: djgpp-workers/1999/07/06/11:36:40
> If you mean two DOS boxes with *any* DJGPP programs, not necessarily GCC,
> then I always do that. On my office machine, running Windows 95, there's
> always one DOS box with Emacs, another with Info, and I use two other for
> command-line tasks, including compiling programs. I never had any
> crashes in CC1 like what you see.
To get the 3.9Gb addresses you must exit an application run earlier (so it
frees it's memory which is typically lower addresses) and then have an
application still running allocate more new memory.
The sorts of things that broke some applications:
0-1Mb space, then sbrk returns 3.9Gb block (broke signed/unsigned)
0-1Mb space, sbrk returns 3.9Gb address, then sbrk returns 1Mb address
(this broke some assumptions in some code about sbrk always
increasing)
It may be the second case which is biting malloc and/or CC1.
- Raw text -