Mail Archives: djgpp/2000/01/18/13:04:03
sandmann AT clio DOT rice DOT edu (Charles Sandmann) writes:
> Since most platforms dzero memory used for the first time for
> security reasons - and the DPMI provider is free not to - you will
> see interesting non-reproducible bugs in DJGPP which are not seen
> elsewhere. There is a crt0 flag which allows you to zero the memory
> (which should do the stack too) and allows "fixing" these bugs
> by making the DJGPP environment look even more unix-like.
There's also the crt0 flag which fills all memory with 0xdeadbeef. That,
at least, will make the bugs reproducible. Has anyone tried GCC (or any
other complex ported program) compiled with _CRT0_FLAG_FILL_DEADBEEF set?
--
Esa Peuha
student of mathematics at the University of Helsinki
http://www.helsinki.fi/~peuha/
- Raw text -