Hi, On Wed, May 18, 2011 at 9:07 PM, Bart Oldeman <bartolde...@users.sourceforge.net> wrote: > On 18 May 2011 11:04, Ladislav Lacina <la...@seznam.cz> wrote: > >> I found severe incompatibility between new SVN kernel 2040 and LD.EXE in >> version 2.9.1. >> LD.EXE is part of DJGPP or Freepascal. >> It is not able to create output file when linking. First symptom I faced was >> that Freepascal 1.0.10 does not more compile any files (end with message >> "error in linking") > > The problem was that shrink_file (calling DOS write int21/ah=40 with > cx=0 bytes shrinks or extends a file) could now give errors > (previously it always succeeded) but was giving an error for > truncating a 0-byte file to 0 bytes (an obvious no-op).
Thanks for the explanation, esp. since Laaca really loves his oldy-moldy FPC 1.0.10. ;-) (Laaca, is latest FPC still not as good? You'd know better than me, but I thought most regressions were fixed by now, not to mention copious improvements.) Well, I guess I'll just quote your site ( http://laaca-mirror.ic.cz/ ): "Bloček is written in Freepascal. Normal development is still done in older version 1.0.10 but final version is compiled with newest available FPC version (now 2.4.2.)", refreshed last week! But honestly, this is a weird bug, surely LD itself (from GNU) didn't explicitly do this, did it? (I mean, why would it?) Mustn't it be a DJGPP libc bug? But 2.9.1 is old old old (latest is 2.21 !!) from May 1998, apparently, which would've been DJGPP 2.01 or such (instead of current 2.03p2 or beta 2.04). Oh well, if newer LD works, it's fixed. Still good to make FreeDOS work with either. (Marcov suggests only FPC 2.2.2 [from 2008] or newer for various reasons: copyright and bugs and lack of features. In fact, they don't mirror versions older than that anymore. Latest FPC and FBC both use LD 2.17, DJGPP uses LD 2.19.) Hmmm, iBiblio has 2.04, 2.2.0, and 2.2.2 (only). Somebody (me?) should probably update that soon. (I don't know what 1.0 shipped with, which is also there obviously, but it must've been even older.) ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel