On 23 Jan 2004 at 9:24, Peter Norton wrote:
...I found that some random memory dump is embeding in to exe. [...] I use GPC under MinGW on Windows 98SE. Is it known issue?
It appears to be a known issue with GNU Binutils. See:
http://sources.redhat.com/ml/binutils/2000-08/msg00437.html
If I understand correctly, the problem is that "ld" seeks beyond the EOF of the newly created EXE file as part of its normal write operations. Under WinNT/2K/XP, the area "skipped" is automatically zeroed. Under Win95/98/Me, the area contains whatever happened to be in memory at the time. So what you are seeing is expected behavior under Win98.
-- Dave