Dave,
Thank you - it sounds promissing. I'll play with it tomorrow.
Today tried Cygwin. Yes - binutils are fixed there and files are clear but ... it blows up my foo.pas to more then 1 MB - ~300 KB exe + 960 KB Cygwin1.dll !
1 MB for just "begin end". Brrrr.
Peter.
--- "J. David Bryan" jdbryan@acm.org wrote:
I wrote:
I've searched the changelog for binutils 2.14 and
did not find any
mention of such a patch.
I spoke too soon. The FSF binutils does not mention a fix for this problem; however, the 20030807 Mingw binutils snapshot does appear to contain a patch. See:
ftp://ftp2.sourceforge.net/pub/sourceforge/mingw/binutils-2.14.90-20030807-1-notes.txt
which says, in part:
The 2.14.90-20030807-1 snapshot incorporates modifications to official binutils CVS since last update. It also fixes a bug (again) with w9x fseek, where file contents are not zero'd out if you seek past the end and then write. This patch has not been in recent binutils releases.
So perhaps the OP can use that binutils snapshot (available at the same FTP location, or via http://www.mingw.org/ ) to work around the problem on Win9x.
-- Dave
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/