Mail Archives: djgpp-workers/1997/04/14/22:35:50
Oberhumer Markus wrote:
>
> Thanks for your feedback. After investigating src/libc/crt0/crt0.s I've
> come to the following solution which works fine on my machine.
>
> It looks pretty simple, though, so is there something I might have missed ?
[snip code]
The whole reason I was unsure about the stackavail() solution was that I
didn't see an easy way to find the base address of the stack. This code
seems to work for me, even when I've manually edited the stack size with
stubedit. It also runs correctly under gdb. I guess somebody did
something right for once. ;) Could this be a candidate for inclusion
in the next djgpp library update?
P.S.: Sorry about the hacked email address, but I found myself getting
some nasty emailbombs recently. Twice, I got over 100 null emails, and
there also seems to some new way of creating an email message that
crashes Netscape when I try to read it. Has anyone else fallen victim
to this?
--
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com |
| Proud owner of what might one | http://www.cs.com/fighteer |
| day be a spectacular MUD... | Plan: To make Bill Gates suffer |
---------------------------------------------------------------------
- Raw text -